KrnlPanic's Linux Notes and Tips

Working with linux since kernel version 2.0.30

Category Archives: Shell Scripting

Using ‘while’ in the bash shell

I like to use while loops to perform a command or group of commands indefinitely until I type ctrl-c to stop the loop. The while loop is useful when monitoring the output of the netstat command Alternatively, the above one-liner … Read more »