Results 1 to 6 of 6
I got on my linux today and find that typing 'ls' no longer outputs anything to the screen.
I was playing around with $PATH the other day and think it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-15-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 21
'ls' broken nothing comes out
I got on my linux today and find that typing 'ls' no longer outputs anything to the screen.
I was playing around with $PATH the other day and think it may be involved. However, I do not get any errors that 'ls' is not found.
When I type $PATH I get:
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:.:No such file or directory
please help,
- 09-15-2008 #2
Try
then tryCode:echo $PATH
Tell us the results.Code:which ls
By the way, are you really sure that there's something in the directory you're trying to list? Have you tried?Code:ls -a
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 09-15-2008 #3
try
also tryCode:/bin/ls
Ed: also doesCode:alias
orCode:sudo ls
work ?Code:su - ls
- 09-15-2008 #4Just Joined!
- Join Date
- Jun 2008
- Posts
- 21
k
k,
echo $PATH gives:
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11
which ls gives:
usr/bin/ls
ls -a gives nothing, but I am sure there is something in the directory, because I have ftp'd in to run 'ls' and sadly, I am working today, getting around by typing 'vi .' to see what is in the current working directory....
Jonathan,
/bin/ls returns nothing
alias give:
alias d= 'dir'
alias dir='/bin/ls $LS_OPTIONS --format=vertical'
alias ls='/bin/ls $LS_OPTIONS'
alias v='vdir'
alias vdir='/bin/ls $LS_OPTIONS --format=long'
sudo ls returns nothing (I am logged in as root)
su -ls returns nothing
thanks for the feedback
- 09-15-2008 #5
What happens with
?Code:/usr/bin/ls
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 09-17-2008 #6Just Joined!
- Join Date
- Jun 2008
- Posts
- 21
hi,
/usr/bin/ls
outputs nothing...


Reply With Quote
