% NET2003 Unix/Linux Shell Scripts % Ian! D. Allen -- -- [www.idallen.com] % Winter 2016 - January to Apil 2016 - Updated 2016-02-23 02:47 EST - [Course Home Page] - [All Weeks] - [Plain Text] NET2003 - Introduction to Shell Scripts ======================================= This is a reference page for learning how to write Unix/Linux shell scripts, used for a guest lecture by Ian! in NET2003 in Winter 2016. The regular course professor is Carolina Ayala, currently vacationing in Colombia. Notes from Carolina Ayala: ========================== - (section IV, V, VII) - - - [Assignment 5 PDF] Notes from Ian! =============== - [CST8207 Shell Scripts] - lists of commands, executable scripts, script header, command arguments and positional parameters - [CST8207 Shell Command Substitution] - interpolate `stdout` into a command line using `$(...)` or `` `...` `` - [CST8207 Shell Script Exit Status] - Command exit status -- variable `$?` - [CST8207 Shell Script Control Structures] - `if, then, else, elif, test, [...], shift, while, do, done, case, esac` - [CST8207 Shell Script Problems] - arithmetic, syntax, test, boolean, etc. - [CST8129 Unix/Linux Script Languages] - an entire course on Shell Scripting (Fall 2005) with lots of examples -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ [Plain Text] - plain text version of this page in [Pandoc Markdown] format [www.idallen.com]: http://www.idallen.com/ [Course Home Page]: .. [All Weeks]: indexcgi.cgi [Plain Text]: 000_NET2003.txt [Assignment 5 PDF]: 05_NET2003_Bash_Scripting.pdf [CST8207 Shell Scripts]: ../../../cst8207/15f/notes/700_shell_scripts.html [CST8207 Shell Command Substitution]: ../../../cst8207/15f/notes/710_command_substitution.html [CST8207 Shell Script Exit Status]: ../../../cst8207/15f/notes/720_exit_status.html [CST8207 Shell Script Control Structures]: ../../../cst8207/15f/notes/730_control_statements.html [CST8207 Shell Script Problems]: ../../../cst8207/15f/notes/740_script_problems.html [CST8129 Unix/Linux Script Languages]: ../../../cst8129/05f/ [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/