aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/bzip2-inst.xml14
-rw-r--r--chapter06/file-inst.xml2
-rw-r--r--chapter06/glibc-inst.xml6
-rw-r--r--chapter06/netkitbase-inst.xml2
-rw-r--r--chapter06/shadowpwd-exp.xml2
-rw-r--r--chapter06/shadowpwd-inst.xml2
6 files changed, 14 insertions, 14 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index 4e6ca8e03..9c2f003d0 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -5,13 +5,13 @@
<para><screen><userinput>make -f Makefile-libbz2_so &amp;&amp;</userinput>
<userinput>make bzip2recover libbz2.a &amp;&amp;</userinput>
-<userinput>cp -f bzip2-shared /bin/bzip2 &amp;&amp;</userinput>
-<userinput>cp -f bzip2recover /bin &amp;&amp;</userinput>
-<userinput>cp -f bzip2.1 /usr/share/man/man1 &amp;&amp;</userinput>
-<userinput>cp -f bzlib.h /usr/include &amp;&amp;</userinput>
-<userinput>cp -af libbz2.so* /lib &amp;&amp;</userinput>
-<userinput>rm -f /usr/lib/libbz2.a &amp;&amp;</userinput>
-<userinput>cp -f libbz2.a /usr/lib &amp;&amp;</userinput>
+<userinput>cp bzip2-shared /bin/bzip2 &amp;&amp;</userinput>
+<userinput>cp bzip2recover /bin &amp;&amp;</userinput>
+<userinput>cp bzip2.1 /usr/share/man/man1 &amp;&amp;</userinput>
+<userinput>cp bzlib.h /usr/include &amp;&amp;</userinput>
+<userinput>cp -a libbz2.so* /lib &amp;&amp;</userinput>
+<userinput>rm /usr/lib/libbz2.a &amp;&amp;</userinput>
+<userinput>cp libbz2.a /usr/lib &amp;&amp;</userinput>
<userinput>cd /usr/lib &amp;&amp;</userinput>
<userinput>ln -sf ../../lib/libbz2.so &amp;&amp;</userinput>
<userinput>cd /bin &amp;&amp;</userinput>
diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml
index 9602cfd04..c1424dc4e 100644
--- a/chapter06/file-inst.xml
+++ b/chapter06/file-inst.xml
@@ -6,7 +6,7 @@ break is placed exactly where it is in the book. Don't try and put it
all on one line otherwise it won't work. Install File by running the
following commands:</para>
-<para><screen><userinput>cp -f readelf.h readelf.h.backup &amp;&amp;</userinput>
+<para><screen><userinput>cp readelf.h readelf.h.backup &amp;&amp;</userinput>
<userinput>sed '/#define __/a \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h &amp;&amp;</userinput>
<userinput>./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;</userinput>
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index d6713c964..9a1029eba 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -10,17 +10,17 @@ would do.</para>
<para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput>
<userinput>touch /etc/ld.so.conf &amp;&amp;</userinput>
-<userinput>cp -f malloc/Makefile malloc/Makefile.backup &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>cp -f login/Makefile login/Makefile.backup &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>mkdir ../glibc-build &amp;&amp;</userinput>
<userinput>cd ../glibc-build &amp;&amp;</userinput>
<userinput>../glibc-&glibc-version;/configure --prefix=/usr \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--enable-add-ons --libexecdir=/usr &amp;&amp;</userinput>
-<userinput>cp -f config.make config.make.backup &amp;&amp;</userinput>
+<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>
diff --git a/chapter06/netkitbase-inst.xml b/chapter06/netkitbase-inst.xml
index 36f546600..c4cc5d3ce 100644
--- a/chapter06/netkitbase-inst.xml
+++ b/chapter06/netkitbase-inst.xml
@@ -7,7 +7,7 @@
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd etc.sample &amp;&amp;</userinput>
-<userinput>cp -f services protocols /etc</userinput></screen></para>
+<userinput>cp services protocols /etc</userinput></screen></para>
<para>There are other files in the <filename
class="directory">etc.sample</filename> directory which might be of
diff --git a/chapter06/shadowpwd-exp.xml b/chapter06/shadowpwd-exp.xml
index 97d4497d7..c861d071f 100644
--- a/chapter06/shadowpwd-exp.xml
+++ b/chapter06/shadowpwd-exp.xml
@@ -6,7 +6,7 @@
compilation bug which occurs due to a variable (nflg), being used but not
defined.</para>
-<para><userinput>cp -f limits login.access and others:</userinput> These files
+<para><userinput>cp limits login.access and others:</userinput> These files
were not installed during the installation of the package so we copy
them manually as those files are used to configure authentication
details on the system.</para>
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index 8f6c1f529..9ce63bbbd 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -12,7 +12,7 @@ following commands:</para>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd etc &amp;&amp;</userinput>
-<userinput>cp -f limits login.access /etc &amp;&amp;</userinput>
+<userinput>cp limits login.access /etc &amp;&amp;</userinput>
<userinput>sed 's%/var/spool/mail%/var/mail%' login.defs.linux &gt; /etc/login.defs</userinput>
<userinput>cd /lib &amp;&amp;</userinput>
<userinput>mv libshadow.a /usr/lib &amp;&amp;</userinput>