(someone wrote, regarding different ls output)

>> "sudo ls   -lGgh /srv/ftp/pub"
>> "-r--r--r--   1  14M Nov  7 16:02 GE_Mainline_Ansys ver2.ppt"
>> HUH?   when I do it manually the output is
>> "sudo ls   -lGgh /srv/ftp/pub"
>> "-r--r--r--   1  14M 2006-11-07 16:02 GE_Mainline_Ansys ver2.ppt"

As others have said, it might be an environment variable.

It is also possible that there are different versions of ls
in different directories, such as /bin/ls, /usr/bin/ls,
or even /sbin/ls or /usr/sbin/ls.  Changes to the path would
then change which one was used.

I have run into this more often with ps, where a ucb-like
ps and SysV like ps exist on the same system.

-- glen

Reply via email to