Programming and posix - April 2002

April 3, 2002
Solution Symposium
Page 77
hp e3000
programming
and posix
posix shell file/directory substitution
~user replaced by user’s home directory
cd ~MGR.APACHE/htdocs = /APACHE/PUB/htdocs
* ? [] - pathname wildcards replaced by possibly
multiple files/dirs
* - zero or more characters
? - one character
[] - group or range (first-last) of characters
/*/PUB/foo.bar - foo.bar in every PUB group on
the machine
/SYS/PUB/LOG???? - all system log files
foo/[a-z]* - all initially lowercase files in foo dir