Pro Tip: For, While and Until Loops

LEVEL: SYSADMIN / TIME: 1-2 min. Here’s some handy quick reference examples to go back to easily if you are needing to use for, while and until loops in your bash shell scripts. This is […]
LEVEL: SYSADMIN / TIME: 1-2 min. Here’s some handy quick reference examples to go back to easily if you are needing to use for, while and until loops in your bash shell scripts. This is […]
So, you have a text file like so: file1 file2 .. And you want to run a command on each line of the file (say, chmod 644). Like all things UNIX, there are more than […]