[fedora-india] Fwd: [ilug-tvm] ls -h not working on EL5 / CentOS 5

ashik salahudeen aashiks at gmail.com
Sat Nov 29 04:04:30 UTC 2008


This is a message from ILUG-Trivandrum . Anybody know what is going on ?


---------- Forwarded message ----------
From: Kurian John <dtlabz at gmail.com>
Date: 2008/11/28
Subject: [ilug-tvm] ls -h not working on EL5 / CentOS 5
To: ilug-tvm at googlegroups.com


Hey everyone,

One of my friends is facing a serious problem in Redhat Enterprise
Linux 5 and CentOS 5. When he tries to list files in a directory with
the ls command, he gets an error like this:

[root at vasant ~]# ls -h
ls: invalid option -- h
Try `ls --help' for more information.

[root at vasant ~]# ll -h
ls: invalid option -- h
Try `ls --help' for more information.

The ls command was working fine when he first installed both OSs. When
he noticed this issue, he checked the version of ls, and got this:

[root at vasant ~]# ls --version
ls - GNU fileutils-3.13
[root at vasant ~]#

This is very strange, because the latest version of GNU fileutils was
released around 2003, and it was merged into GNU coreutils by 2003.
So, it seems that somehow his coreutils package was replaced by an
outdated fileutils package.

He asked this question on LinuxQuestions.org and someone suggested to
check for rootkits (See link below).

http://www.linuxquestions.org/questions/linux-newbie-8/facing-a-problem-with-ls-command.-686547/

Has anybody here experienced any similar problems? Any help would be
greatly appreciated.




More information about the Fedora-india mailing list