what is ls trying to tell me?
by Skaperen from LinuxQuestions.org on (#5J8YR)
what is ls trying to tell me?
Code:lt2a/sr /home2/sr 4> rm -fr bar foo
lt2a/sr /home2/sr 5> echo woot >bar
lt2a/sr /home2/sr 6> ln -s bar foo
lt2a/sr /home2/sr 7> ls -dl bar foo
/bin/ls: foo: No such file or directory
-rw-r--r-- 1 sr sr 5 May 25 18:03 bar
lrwxrwxrwx 1 sr sr 3 May 25 18:03 foo -> bar
lt2a/sr /home2/sr 8> ls -dl foo
/bin/ls: foo: No such file or directory
lrwxrwxrwx 1 sr sr 3 May 25 18:03 foo -> bar
lt2a/sr /home2/sr 9>obviously, foo exists as well as bar that it points to.


Code:lt2a/sr /home2/sr 4> rm -fr bar foo
lt2a/sr /home2/sr 5> echo woot >bar
lt2a/sr /home2/sr 6> ln -s bar foo
lt2a/sr /home2/sr 7> ls -dl bar foo
/bin/ls: foo: No such file or directory
-rw-r--r-- 1 sr sr 5 May 25 18:03 bar
lrwxrwxrwx 1 sr sr 3 May 25 18:03 foo -> bar
lt2a/sr /home2/sr 8> ls -dl foo
/bin/ls: foo: No such file or directory
lrwxrwxrwx 1 sr sr 3 May 25 18:03 foo -> bar
lt2a/sr /home2/sr 9>obviously, foo exists as well as bar that it points to.