After I ran man ls
, it shows:
Man: find all matching manual pages
* ls (1)
ls (1p)
Man: What manual page do you want?
Man:
After I entered "1", it shows nothing but "Manual page ls(1) line ?/? (END)" on the status bar.
I guess that I haven't installed manual page for ls
, so I ran manpath
and get output below:
/usr/share/man:/usr/local/man:/usr/local/share/man
Right under directory /usr/share/man/man1/
I found gzip file ls.1.gz
, which I think is the manual information of ls
.
So why man ls
shows nothing here?
man 1 ls
orman -s 1 ls
.zcat /usr/share/man/man1/ls.1.gz | head
should show you 10 lines of text; one of the lines should be something similar to.TH LS "1" "February 2011" "GNU coreutils 8.5" "User Commands"
. And tryzcat /usr/share/man/man1/ls.1.gz | nroff -man | less
.man
aliased? What doalias man
andwhich man
tell you?type -a man
,/usr/bin/man ls