aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/coreutils-inst.xml')
-rw-r--r--chapter06/coreutils-inst.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/chapter06/coreutils-inst.xml b/chapter06/coreutils-inst.xml
new file mode 100644
index 000000000..14df0ec19
--- /dev/null
+++ b/chapter06/coreutils-inst.xml
@@ -0,0 +1,20 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
+<sect2>
+<title>Installation of Coreutils</title>
+
+<para><screen><userinput>/configure --prefix=/usr
+make
+make install
+mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin &&
+mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin &&
+mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin &&
+mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin &&
+mv /usr/bin/{touch,true,uname,vdir} /bin
+mv /usr/bin/chroot /usr/sbin
+ln -s test /bin/[
+ln -s ../../bin/install /usr/bin</userinput></screen></para>
+
+
+</sect2>
+