aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/e2fsprogs-inst.xml2
-rw-r--r--chapter06/ed-inst.xml2
-rw-r--r--chapter06/glibc-exp.xml6
-rw-r--r--chapter06/glibc-inst.xml6
-rw-r--r--chapter06/gzip-inst.xml4
-rw-r--r--chapter06/kbd-exp.xml2
-rw-r--r--chapter06/kbd-inst.xml2
-rw-r--r--chapter06/man-inst.xml2
-rw-r--r--chapter06/nettools-inst.xml2
-rw-r--r--chapter06/procps-inst.xml2
-rw-r--r--chapter06/removeoldnss.xml2
-rw-r--r--chapter06/shadowpwd-inst.xml2
-rw-r--r--chapter06/shellutils-inst.xml6
-rw-r--r--chapter06/sysvinit-inst.xml2
-rw-r--r--chapter06/textutils-inst.xml2
-rw-r--r--chapter06/utillinux-inst.xml2
16 files changed, 23 insertions, 23 deletions
diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml
index 2bba4eb80..e5399db99 100644
--- a/chapter06/e2fsprogs-inst.xml
+++ b/chapter06/e2fsprogs-inst.xml
@@ -11,7 +11,7 @@ to be like that. We did not forget to supply a value there.</para>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>make install-libs &amp;&amp;</userinput>
-<userinput>mv -f /usr/sbin/mklost+found /sbin</userinput></screen></para>
+<userinput>mv /usr/sbin/mklost+found /sbin</userinput></screen></para>
</sect2>
diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml
index 052d8ab0f..c588b1f2a 100644
--- a/chapter06/ed-inst.xml
+++ b/chapter06/ed-inst.xml
@@ -11,7 +11,7 @@
<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
-<userinput>mv -f /usr/bin/ed /usr/bin/red /bin</userinput></screen></para>
+<userinput>mv /usr/bin/ed /usr/bin/red /bin</userinput></screen></para>
</sect2>
diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml
index 5a3e71852..e63c2e61b 100644
--- a/chapter06/glibc-exp.xml
+++ b/chapter06/glibc-exp.xml
@@ -21,7 +21,7 @@ file <filename>tmp~</filename>. This is done because Glibc can't
autodetect perl since it's not installed yet at the time when we install
Glibc.</para>
-<para><userinput>mv -f tmp~ malloc/Makefile:</userinput> The file
+<para><userinput>mv tmp~ malloc/Makefile:</userinput> The file
<filename>tmp~</filename> is now moved back to
<filename>malloc/Makefile</filename>. We do this because
when using sed, we can't write straight back to this file so we need to
@@ -35,7 +35,7 @@ because as we don't have glibc on the LFS system yet, usernames can't
be resolved to their user id's. Therefore, we replace the username
root with the id 0. </para>
-<para><userinput>mv -f tmp~ login/Makefile:</userinput> Asabove, we are using a temporary file (<filename>tmp~</filename>) to store the
+<para><userinput>mv tmp~ login/Makefile:</userinput> Asabove, we are using a temporary file (<filename>tmp~</filename>) to store the
edited Makefile and then copying it back over the original.</para>
<para><userinput>--enable-add-ons:</userinput> This enables the add-on that
@@ -52,7 +52,7 @@ test program to determine this, so it automatically defaults to a
cross-compiler. The reason for the failed program is because Glibc
hasn't been installed yet.</para>
-<para><userinput>mv -f config.make~ config.make:</userinput> Again, we are moving
+<para><userinput>mv config.make~ config.make:</userinput> Again, we are moving
the temporary file over the original.</para>
<para><userinput>exec /bin/bash:</userinput>This command will
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 9a1029eba..f4930add2 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -12,10 +12,10 @@ would do.</para>
<userinput>touch /etc/ld.so.conf &amp;&amp;</userinput>
<userinput>cp malloc/Makefile malloc/Makefile.backup &amp;&amp;</userinput>
<userinput>sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv -f tmp~ malloc/Makefile &amp;&amp;</userinput>
+<userinput>mv tmp~ malloc/Makefile &amp;&amp;</userinput>
<userinput>cp login/Makefile login/Makefile.backup &amp;&amp;</userinput>
<userinput>sed 's/root/0/' login/Makefile &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv -f tmp~ login/Makefile &amp;&amp;</userinput>
+<userinput>mv tmp~ login/Makefile &amp;&amp;</userinput>
<userinput>mkdir ../glibc-build &amp;&amp;</userinput>
<userinput>cd ../glibc-build &amp;&amp;</userinput>
<userinput>../glibc-&glibc-version;/configure --prefix=/usr \</userinput>
@@ -23,7 +23,7 @@ would do.</para>
<userinput>cp config.make config.make.backup &amp;&amp;</userinput>
<userinput>sed 's/cross-compiling = yes/cross-compiling = no/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;config.make &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv -f tmp~ config.make &amp;&amp;</userinput>
+<userinput>mv tmp~ config.make &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>make localedata/install-locales &amp;&amp;</userinput>
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 2763417e2..4614a2e8c 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -7,8 +7,8 @@
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>mv -f gzip /bin &amp;&amp;</userinput>
-<userinput>rm -f gunzip zcat &amp;&amp;</userinput>
+<userinput>mv gzip /bin &amp;&amp;</userinput>
+<userinput>rm gunzip zcat &amp;&amp;</userinput>
<userinput>cd /bin &amp;&amp;</userinput>
<userinput>ln -sf gzip gunzip &amp;&amp;</userinput>
<userinput>ln -sf gzip zcat &amp;&amp;</userinput>
diff --git a/chapter06/kbd-exp.xml b/chapter06/kbd-exp.xml
index 2cd5c9cba..a4260d5db 100644
--- a/chapter06/kbd-exp.xml
+++ b/chapter06/kbd-exp.xml
@@ -5,7 +5,7 @@
data files (fonts, keymaps, and such) in the /usr/share/kbd directory, as
the FHS suggests.</para>
-<para><userinput>rm -f
+<para><userinput>rm
/usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz:</userinput> We
remove this file because we don't know which keymap you
need to use. We will be defining the default keymap in
diff --git a/chapter06/kbd-inst.xml b/chapter06/kbd-inst.xml
index f6211bddd..27799dd47 100644
--- a/chapter06/kbd-inst.xml
+++ b/chapter06/kbd-inst.xml
@@ -6,7 +6,7 @@
<para><screen><userinput>./configure --datadir=/usr/share/kbd &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
-<userinput>rm -f /usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz</userinput></screen></para>
+<userinput>rm /usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz</userinput></screen></para>
</sect2>
diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml
index 3b624f92f..f004b51a3 100644
--- a/chapter06/man-inst.xml
+++ b/chapter06/man-inst.xml
@@ -7,7 +7,7 @@
<userinput>do</userinput>
<userinput>&nbsp;&nbsp;&nbsp;cp $i $i.backup &amp;&amp;</userinput>
<userinput>&nbsp;&nbsp;&nbsp;sed 's/gawk/awk/g' $i &gt; tmp~ &amp;&amp;</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;mv -f tmp~ $i</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;mv tmp~ $i</userinput>
<userinput>done</userinput>
<userinput>chmod 700 configure &amp;&amp;</userinput>
<userinput>./configure -default &amp;&amp;</userinput>
diff --git a/chapter06/nettools-inst.xml b/chapter06/nettools-inst.xml
index b1eaabed4..0f64b7647 100644
--- a/chapter06/nettools-inst.xml
+++ b/chapter06/nettools-inst.xml
@@ -9,7 +9,7 @@
<para>Net-tools <userinput>hostname</userinput> replaces that which was
originally installed by sh-utils. Sometimes the sh-utils version gets
left behind as /bin/hostname.old so you may wish to remove it by running
-<userinput>rm -f /bin/hostname.old</userinput></para>
+<userinput>rm /bin/hostname.old</userinput></para>
</sect2>
diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml
index 0b86b02fa..29ff3d5f6 100644
--- a/chapter06/procps-inst.xml
+++ b/chapter06/procps-inst.xml
@@ -5,7 +5,7 @@
<para><screen><userinput>make &amp;&amp;</userinput>
<userinput>make XSCPT='' install &amp;&amp;</userinput>
-<userinput>mv -f /usr/bin/kill /bin</userinput></screen></para>
+<userinput>mv /usr/bin/kill /bin</userinput></screen></para>
</sect2>
diff --git a/chapter06/removeoldnss.xml b/chapter06/removeoldnss.xml
index 2edf07397..3d2214870 100644
--- a/chapter06/removeoldnss.xml
+++ b/chapter06/removeoldnss.xml
@@ -5,7 +5,7 @@
to the LFS system (because the normal system runs glibc-2.0) it's time to remove
them now by running:</para>
-<para><screen><userinput>rm -f /lib/libnss*.so.1 /lib/libnss*2.0*</userinput></screen></para>
+<para><screen><userinput>rm /lib/libnss*.so.1 /lib/libnss*2.0*</userinput></screen></para>
</sect1>
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index 9ce63bbbd..120324e2c 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -7,7 +7,7 @@ following commands:</para>
<para><screen><userinput>cp src/useradd.c src/useradd.c.backup &amp;&amp;</userinput>
<userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;src/useradd.c &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv -f tmp~ src/useradd.c &amp;&amp;</userinput>
+<userinput>mv tmp~ src/useradd.c &amp;&amp;</userinput>
<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml
index d47c7ed23..492ecfcf3 100644
--- a/chapter06/shellutils-inst.xml
+++ b/chapter06/shellutils-inst.xml
@@ -7,9 +7,9 @@
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>mv -f date echo false pwd stty /bin &amp;&amp;</userinput>
-<userinput>mv -f su true uname hostname /bin &amp;&amp;</userinput>
-<userinput>mv -f chroot ../sbin</userinput></screen></para>
+<userinput>mv date echo false pwd stty /bin &amp;&amp;</userinput>
+<userinput>mv su true uname hostname /bin &amp;&amp;</userinput>
+<userinput>mv chroot ../sbin</userinput></screen></para>
</sect2>
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml
index 57f8373f8..078ad2357 100644
--- a/chapter06/sysvinit-inst.xml
+++ b/chapter06/sysvinit-inst.xml
@@ -15,7 +15,7 @@ processes started by init the TERM signal".</para>
<para><screen><userinput>cp src/init.c src/init.c.backup &amp;&amp;</userinput>
<userinput>sed 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;src/init.c &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv -f tmp~ src/init.c &amp;&amp;</userinput>
+<userinput>mv tmp~ src/init.c &amp;&amp;</userinput>
<userinput>make -C src &amp;&amp;</userinput>
<userinput>make -C src install</userinput></screen></para>
diff --git a/chapter06/textutils-inst.xml b/chapter06/textutils-inst.xml
index 6fe4e525d..c22802455 100644
--- a/chapter06/textutils-inst.xml
+++ b/chapter06/textutils-inst.xml
@@ -6,7 +6,7 @@
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
-<userinput>mv -f /usr/bin/cat /bin</userinput></screen></para>
+<userinput>mv /usr/bin/cat /bin</userinput></screen></para>
</sect2>
diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml
index b59dcf12d..80d91753c 100644
--- a/chapter06/utillinux-inst.xml
+++ b/chapter06/utillinux-inst.xml
@@ -8,7 +8,7 @@ util-linux package, FHS-compliant, run the following.</para>
<para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &amp;&amp;</userinput>
<userinput>sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;hwclock/hwclock.c &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv -f tmp~ hwclock/hwclock.c &amp;&amp;</userinput>
+<userinput>mv tmp~ hwclock/hwclock.c &amp;&amp;</userinput>
<userinput>mkdir -p /var/lib/hwclock</userinput></screen></para>
</sect2>