≡ Menu

shell while loop

iptables: Read a List of IP Address From File And Block

How do I read a list of ip address (subnets) using a text file and block all of them using Linux iptables command?
[click to continue…]

Bash Script: Read One Character At A Time

I need to count one character at a time from input.txt. How do I read one character at a time under Linux / UNIX bash shell script?
[click to continue…]

Shell Script While Loop Examples

Can you provide me a while loop control flow statement shell script syntax and example that allows code to be executed repeatedly based on a given boolean condition?
[click to continue…]