Category Archives: Shell Script

How To Run A Shell Script

One may run or “execute”  shell scripts by typing it’s filename as a command and pressing <Enter> as they would with a regular command. However, the script file must must have executable permission set (see the previous post). Also, scripts … Continue reading

Posted in BSD, Bash, GNU/Linux, Shell Script, UNIX | Tagged , , , , , | Leave a comment

Creating A Shell Script

Shell scripts are text files; subsequently one must use a text editor to produce them (not a word processor!) and then make the file executable so that it can be run. All Bash scripts contain a first line in one … Continue reading

Posted in BSD, Bash, GNU/Linux, Shell Script, UNIX | Tagged , , , , , | Leave a comment