mv commands, coreutils ch6

Andrew Sharp andrew.sharp3 at ntlworld.com
Tue May 4 03:20:58 PDT 2004


Dear editors,

I have an issue regarding this command in coreutils ch6 (abridged version  
from book 5.1 pre1):

mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
mv /usr/bin/{date,echo,false,head,install,ln,ls} /bin
mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
mv /usr/bin/{sleep,stty,su,test,touch,true,uname} /bin
mv /usr/bin/chroot /usr/sbin

in line 3, mv is moved, so the last two lines cannot be activated:
root:/sources/coreutils-5.2.1# mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} 
/bin
root:/sources/coreutils-5.2.1# mv 
/usr/bin/{sleep,stty,su,test,touch,true,uname} /bin
bash: /usr/bin/mv: No such file or directory
root:/sources/coreutils-5.2.1# mv /usr/bin/chroot /usr/sbin
bash: /usr/bin/mv: No such file or directory
root:/sources/coreutils-5.2.1#

Surely mv /usr/bin/mv /bin should be the last command?

Andrew



More information about the lfs-book mailing list