Open main menu

CDOT Wiki β

Changes

Fall 2008 SPR720 Weekly Schedule

167 bytes added, 02:30, 9 September 2008
Bash Scripting Basics
* Creating a script
** Putting commands in a file
** The shebang line: <code>#!/bin/bash</code>
** Permissions
*** Three communities: user-group-other
*** Three permissions: read-write-execute
**** Permissions on directories
*** Symbolic and octal notation
*** <code>chmod </code> command**** Relative notation: <code>[augo][+-=][rwxX][,[...]]</code>*** <code>ls -l</code> command
* Redirection
** Standard file descriptors
*** stderr (2)
*** Mind bender: ''how does'' <code>less</code> ''get keyboard input?''
** Output redirection: <code>> >></code> ** Input redirection: <code>< <<</code>
** Cloning
** Pipes
*** Filter programs
* Result codes
* Flow control (part 1): <code>if/then/else/fi</code>
== IRC Session: Paul Frields ==