LFS5.0,chpt6,coreutils: moving mv from /usr/bin to /bin

Albert alwagner at tcac.net
Wed Feb 4 08:26:33 PST 2004


In chapter 6, installing coreutils,  the code to move files from
/usr/bin fails after the 3rd line, where mv is moved to /bin.  Is this a 
typo in the book, or what?
-------------------------------------------------------------------------------
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

fails after 3rd line.
-------------------------------------------------------------------------------
root:/sources/coreutils-5.0# mv /usr/bin/
{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
root:/sources/coreutils-5.0# mv /usr/bin/
{dir,dircolors,du,date,echo,false,head} /bin
root:/sources/coreutils-5.0# mv /usr/bin/
{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin    
root:/sources/coreutils-5.0# mv /usr/bin/
{rm,rmdir,shred,sync,sleep,stty,su,test} /bin
bash: /usr/bin/mv: No such file or directory
root:/sources/coreutils-5.0# mv /usr/bin/{touch,true,uname,vdir} /bin
bash: /usr/bin/mv: No such file or directory
root:/sources/coreutils-5.0# mv /usr/bin/chroot /usr/sbin
bash: /usr/bin/mv: No such file or directory
-------------------------------------------------------------------------------


PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
root:/sources/coreutils-5.0# ls /usr/bin
addr2line  gccbug                       localedef      readelf   tee
ar         gcov                         logname        readlink  test
as         gencat                       md5sum         rm        touch
c++        getconf                      mtrace         rmdir     tr
c++filt    getent                       nice           rpcgen    true
catchsegv  glibcbug                     nl             seq       tsort
cc         gprof                        nm             sha1sum   tty
chroot     groups                       nohup          shred     
tzselect
cksum      hostid                       objcopy        size      uname
comm       i686-pc-linux-gnu-c++        objdump        sleep     
unexpand
cpp        i686-pc-linux-gnu-g++        od             sort      uniq
csplit     i686-pc-linux-gnu-gcc        paste          split     unlink
cut        i686-pc-linux-gnu-gcc-3.3.1  pathchk        sprof     uptime
dirname    iconv                        pcprofiledump  stat      users
env        id                           perl           strings   vdir
expand     join                         pinky          strip     wc
expr       kill                         pr             stty      who
factor     ld                           printenv       su        whoami
fmt        ldd                          printf         sum       xtrace
fold       lddlibc4                     pt_chown       sync      yes
g++        link                         ptx            tac
gcc        locale                       ranlib         tail

-- 
"Don't you see that the whole aim of Newspeak is to narrow the range of 
thought? In the end we shall make thoughtcrime literally impossible, 
because there will be no words in which to express it."
    -- George Orwell as Syme in "1984"





More information about the lfs-support mailing list