$ man -f ls ls ls (1) - list directory contents ls ls (1) - list contents of directory
so you can see that there are two versions. If you do : $ man ls then you will get first available man page. If you do : $ which ls /usr/gnu/bin/ls then you can see that man page will be probably for GNU version of ls. So start : $ man ls and you can immediately detect that it's man page for GNU version of ls because of really terrible and unreadable formating. If you hit space key then you can see in the middle of page this line 'GNU coreutils 7.4' so yes it's man page for GNU version of ls. Another info for detection is on the end of man page. so for "Sun" version there is a command : $ man -M /usr/share/man ls you will get what you want. And if you prefer Sun or BSD versions of commands then change your PATH. -- This message posted from opensolaris.org