1,885
edits
Changes
→Bash Scripting Basics
* Creating a script
** Putting commands in a file
** The shebang line: #!/bin/bash
** Permissions
*** Three communities: user-group-other
*** Three permissions: read-write-execute
*** Symbolic and octal notation
*** chmod command
**** Relative notation
* Redirection
** Standard file descriptors
*** stdin(0)*** stdout(1)*** stderr(2)*** Mind bender: ''how does'' <code>less</code> ''get keyboard input?''** Output redirection: > >> ** Input redirection: < <<
** Cloning
** Pipes