Operating System - HP-UX
1834089 Members
2124 Online
110063 Solutions
New Discussion

Re: I can't use "ll" command under root directory, Help me

 
SOLVED
Go to solution
XueFeng_1
Advisor

I can't use "ll" command under root directory, Help me

I can use "ll" at everywhere but "/". It is no result and no error message when I am typing ll.
Under root directory, "ls" and "ls -a" is available, but "ll","ls -l" and "ls -F" is not
available.

Somebody help me!
8 REPLIES 8
Michael Tully
Honored Contributor
Solution

Re: I can't use "ll" command under root directory, Help me

I've seen a similar issue before which indicated that your system may have a bad NFS mount-point.
Anyone for a Mutiny ?
twang
Honored Contributor

Re: I can't use "ll" command under root directory, Help me

Hi,

# which ll
/usr/bin/ll

to locate "ll" in /usr/bin, you may also print your $PATH,
it should at least include the following,
# echo $PATH
/usr/bin:/usr/sbin:/sbin


regards tommy
Michael Tully
Honored Contributor

Re: I can't use "ll" command under root directory, Help me

I've seen a similar issue before which indicated that your system may have a filesystem that has a problem, or even a bad NFS mount-point.
Anyone for a Mutiny ?
twang
Honored Contributor

Re: I can't use "ll" command under root directory, Help me

hi,
Michael is right, you may take a look at the attached thread which is about a similar issue:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=501693

regards
tommy

Kiyoshi Miyake
Frequent Advisor

Re: I can't use "ll" command under root directory, Help me

Hi,

"ls" and "ls -a" read only "/" directoy,
but "ll", "ls -l" and "ls -F" read /usr, /home, ,,,, directory infomation.
( see ditail : man dir, stat )

so, you should clear what directory is wrong.
e.g.)
$ for f in /*
$ do
$ echo $f
$ ll -d $f
$ done

thanks.
Bart Paulusse
Respected Contributor

Re: I can't use "ll" command under root directory, Help me

Hi,

I've had the same issue with a mounted CD.

It turned out the CD was corrupt.

Take a look at the thread Twang suggested. That helped me solve my problem.

regards,

Bart
XueFeng_1
Advisor

Re: I can't use "ll" command under root directory, Help me

Thank U, all guys, I will try.
XueFeng_1
Advisor

Re: I can't use "ll" command under root directory, Help me

Thank you! everyone!
The problem is solved.