Programming and posix - February 2001

February 10, 2001
Solution Symposium
Page 76
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