Category Archives: UNIX

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

Shell Scripts

Shells have a programming language. Many of the commands, utilities and tools I have discussed previously are a part of the shell script programming language. A shell program is simply a list of commands the shell can run. A shell … Continue reading

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