diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/chapter06.xml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index cf7f0c980..0df77c71e 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -211,14 +211,16 @@ standard tree:</para> <screen><userinput>mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc} mkdir -p /{root,sbin,tmp,usr/local,var,opt} -for dirname in /usr /usr/local - do - mkdir $dirname/{bin,etc,include,lib,sbin,share,src} - ln -s share/{man,doc,info} $dirname - mkdir $dirname/share/{doc,info,locale,man} - mkdir $dirname/share/{misc,terminfo,zoneinfo} - mkdir $dirname/share/man/man{1,2,3,4,5,6,7,8} -done +mkdir /usr/{bin,include,lib,sbin,share,src} +ln -s share/{man,doc,info} /usr +mkdir /usr/share/{doc,info,locale,man} +mkdir /usr/share/{misc,terminfo,zoneinfo} +mkdir /usr/share/man/man{1,2,3,4,5,6,7,8} +mkdir /usr/local/{bin,etc,include,lib,sbin,share,src} +ln -s share/{man,doc,info} /usr/local +mkdir /usr/local/share/{doc,info,locale,man} +mkdir /usr/local/share/{misc,terminfo,zoneinfo} +mkdir /usr/local/share/man/man{1,2,3,4,5,6,7,8} mkdir /var/{lock,log,mail,run,spool} mkdir -p /var/{tmp,opt,cache,lib/misc,local} mkdir /opt/{bin,doc,include,info} |