I have a CentOS-5 desktop and the command works fine. It has GNU Coreutils 5.97.
2008/11/29 ashik salahudeen <[EMAIL PROTECTED]>: > This is a message from ILUG-Trivandrum . Anybody know what is going on ? > > > ---------- Forwarded message ---------- > From: Kurian John <[EMAIL PROTECTED]> > Date: 2008/11/28 > Subject: [ilug-tvm] ls -h not working on EL5 / CentOS 5 > To: [EMAIL PROTECTED] > > > 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: > > [EMAIL PROTECTED] ~]# ls -h > ls: invalid option -- h > Try `ls --help' for more information. > > [EMAIL PROTECTED] ~]# 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: > > [EMAIL PROTECTED] ~]# ls --version > ls - GNU fileutils-3.13 > [EMAIL PROTECTED] ~]# > > 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. > > _______________________________________________ > Fedora-india mailing list > Fedora-india@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-india > -- Manilal K M : മണിലാല് കെ എം. http://libregeek.blogspot.com _______________________________________________ Fedora-india mailing list Fedora-india@redhat.com https://www.redhat.com/mailman/listinfo/fedora-india