summaryrefslogtreecommitdiffstats
path: root/shell-workshop/shell-tut.txt
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-01 03:42:44 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-01 03:42:44 (EDT)
commit5a265a0ce6b1793a879bd227fa9b24ebd08fd15c (patch)
treef4d6b1a88fce8bfdd82cc543bce0747c508bc8bc /shell-workshop/shell-tut.txt
parentc1c178db813ed76e433686a171884187e71b41bd (diff)
downloadwww-5a265a0ce6b1793a879bd227fa9b24ebd08fd15c.zip
www-5a265a0ce6b1793a879bd227fa9b24ebd08fd15c.tar.gz
www-5a265a0ce6b1793a879bd227fa9b24ebd08fd15c.tar.bz2
Move UNIX shell workshop files under guides.
Diffstat (limited to 'shell-workshop/shell-tut.txt')
-rw-r--r--shell-workshop/shell-tut.txt126
1 files changed, 0 insertions, 126 deletions
diff --git a/shell-workshop/shell-tut.txt b/shell-workshop/shell-tut.txt
deleted file mode 100644
index 0a73cb0..0000000
--- a/shell-workshop/shell-tut.txt
+++ /dev/null
@@ -1,126 +0,0 @@
-first steps and basic output
- how shell reads input - three methods
- use of "echo" built-in utility
- ex: hello world
-simple commands, field splitting, and quoting
- ex: maybe cd, mkdir/touch, etc.
-tilde and pathname expansion
- ex: cd with tildes
- ex: cd/mkdir/touch with pathname expansions
-parameters
- defining variables and expanding their values
- positional parameters, special parameters, and shell variables
- ex: assign variables
- ex: expand and print variables and positional parameters
-command substitution
- ex: commands in subshells, output assigned to variables
-arithmetic expansion
- ex: some expressions, assignments, etc.
-shell commands
- revisit simple commands
- command search and execution
- pipelines
- lists
- sequential
- asynchronous
- AND
- OR
- compound commands
- grouping
- subshell vs current shell, shell execution environment:
- open files
- working directory
- shell parameters
- shell functions
- shell options
- shell aliases
- if
- show "test"/"[" command
- while
- ex: loop over positional parameters
- #! /bin/sh
- while [ $# -gt 0 ]; do
- printf '%s\n' "$1"
- shift
- done
- ex: read from input
- until
- for
- case
- functions
-exit status
-I/O redirection
-built-in utilities
- colon
- export
- break [n]
- continue [n]
- dot
- eval
- exec
- exit
- export
- return
- set
- shift
- unset
-utilities
- cat
- cd
- chgrp
- chmod
- chown
- cp
- date
- dd
- df
- diff
- dirname
- du
- echo
- expr
- false
- file
- fold
- getopts
- grep
- head
- id
- kill
- ln
- lp
- ls
- mailx
- mesg
- mkdir
- mkfifo
- more
- mv
- nice
- pr
- printf
- ps
- pwd
- read
- rm
- rmdir
- sed
- sh
- sleep
- sort
- stty
- tail
- test
- time
- touch
- tr
- true
- uniq
- wc
- who
-
-example scripts:
- screen-batt
- /usr/local/lib/pjrand.sh and /usr/local/bin/screensaver
- /bin/which of Debian (ex. of IFS)
- changelog-gen