1832757 Members
2848 Online
110045 Solutions
New Discussion

ls confusion ??

 
SOLVED
Go to solution
YLTan
Frequent Advisor

ls confusion ??

Hi

I notice the man pages for ls have an option for "-e" but when i use it with -l (ell), it said that the option is illegal!! and not found in the summary line. It turn out to be capital "-E" instead. Is this some kind editing error???
tyl
4 REPLIES 4
Michael Tully
Honored Contributor

Re: ls confusion ??

Hi,

At first look, it looks like a bug. I've
tried this ona few of my systems and
cannot reproduce it. Suggest you have
a look at patching.

What level patch bundle and OS level are
you on?

Michael
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: ls confusion ??

Odd ! I managed to run
$ ls -el
fine on both 10.20 and 11i system. One thought though do you have any "ls" command alias ?

$ alias
==> shows you're command aliases
Michael Tully
Honored Contributor

Re: ls confusion ??

I had another thought, do you have any aliases set up? Type in from the command line:

$ alias
Anyone for a Mutiny ?
Steven Sim Kok Leong
Honored Contributor
Solution

Re: ls confusion ??

Hi,

Tested it (-e) to work fine on HP-UX 11i v1.5 (HP-UX 11.20). There is no (-E) option.

Did you happen to use a different ls binary on HP-UX?

Check the output of what:

# what `which ls`
/usr/bin/ls:
$Revision: B.11.20_LR
Wed May 16 19:42:58 PDT 2001 $
HP-UX/General Millicode UX.12.70 (IA64.ISV3): (MILLI - 02/13/01)

Hope this helps. Regards.

Steven Sim Kok Leong