aboutsummaryrefslogtreecommitdiffstats
path: root/chapter03
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-11-19 19:39:49 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-11-19 19:39:49 +0000
commit082acf22567450d941bcf49875ad6aa6fa0a9520 (patch)
tree487e89afefc9e6c02c6d41ffe3fa0c9d9efb4b8f /chapter03
parent4ab3af7f2f7b94b1f645fccef7b8969197c5a6e7 (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.xml14
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 &amp;&amp;</userinput>
+<userinput>mkdir -p bin boot dev/pts etc/opt home lib mnt proc root sbin tmp var opt &amp;&amp;</userinput>
<userinput>for dirname in $LFS/usr $LFS/usr/local</userinput>
<userinput><literal>&nbsp;&nbsp;&nbsp;do</literal></userinput>
<userinput>&nbsp;&nbsp;&nbsp;mkdir $dirname</userinput>
@@ -33,11 +33,11 @@ Issuing the following commands will create a default directory layout:</para>
<userinput>&nbsp;&nbsp;&nbsp;cd $dirname/share/man</userinput>
<userinput>&nbsp;&nbsp;&nbsp;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 &amp;&amp;</userinput>
+<userinput>mkdir -p lock log mail run spool tmp opt cache lib/misc local &amp;&amp;</userinput>
+<userinput>cd $LFS/opt &amp;&amp;</userinput>
+<userinput>mkdir bin doc include info lib man &amp;&amp;</userinput>
+<userinput>cd $LFS/usr &amp;&amp;</userinput>
<userinput>ln -s ../var/tmp tmp</userinput></screen></para>
<para>Normally, directories are created with permission mode 755, which isn't