diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-11-19 19:39:49 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-11-19 19:39:49 +0000 |
commit | 082acf22567450d941bcf49875ad6aa6fa0a9520 (patch) | |
tree | 487e89afefc9e6c02c6d41ffe3fa0c9d9efb4b8f /chapter03 | |
parent | 4ab3af7f2f7b94b1f645fccef7b8969197c5a6e7 (diff) |
add &'s
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1345 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter03')
-rw-r--r-- | chapter03/creatingdirs.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter03/creatingdirs.xml b/chapter03/creatingdirs.xml index 72a44b73e..0ca0f7efd 100644 --- a/chapter03/creatingdirs.xml +++ b/chapter03/creatingdirs.xml @@ -18,8 +18,8 @@ standard, which can be found at <ulink url="http://www.pathname.com/fhs/">http://www.pathname.com/fhs/</ulink>. Issuing the following commands will create a default directory layout:</para> -<para><screen><userinput>cd $LFS</userinput> -<userinput>mkdir -p bin boot dev/pts etc/opt home lib mnt proc root sbin tmp var opt</userinput> +<para><screen><userinput>cd $LFS &&</userinput> +<userinput>mkdir -p bin boot dev/pts etc/opt home lib mnt proc root sbin tmp var opt &&</userinput> <userinput>for dirname in $LFS/usr $LFS/usr/local</userinput> <userinput><literal> do</literal></userinput> <userinput> mkdir $dirname</userinput> @@ -33,11 +33,11 @@ Issuing the following commands will create a default directory layout:</para> <userinput> cd $dirname/share/man</userinput> <userinput> mkdir man{1,2,3,4,5,6,7,8}</userinput> <userinput>done</userinput> -<userinput>cd $LFS/var</userinput> -<userinput>mkdir -p lock log mail run spool tmp opt cache lib/misc local</userinput> -<userinput>cd $LFS/opt</userinput> -<userinput>mkdir bin doc include info lib man</userinput> -<userinput>cd $LFS/usr</userinput> +<userinput>cd $LFS/var &&</userinput> +<userinput>mkdir -p lock log mail run spool tmp opt cache lib/misc local &&</userinput> +<userinput>cd $LFS/opt &&</userinput> +<userinput>mkdir bin doc include info lib man &&</userinput> +<userinput>cd $LFS/usr &&</userinput> <userinput>ln -s ../var/tmp tmp</userinput></screen></para> <para>Normally, directories are created with permission mode 755, which isn't |