LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to use "ls" command in x86 solaris 10 machine? (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-use-ls-command-in-x86-solaris-10-machine-764718/)

malli42108 10-27-2009 02:00 AM

unable to use "ls" command in x86 solaris 10 machine?
 
hi experts,

i am using x86 solaris 10 machine. In this i am unable to use "ls" command. but i can use "/bin/ls" instead of "ls".
what to set to use "ls" directly.(without alias names)?

$ uname -a
SunOS dslam015 5.10 Generic_139556-08 i86pc i386 i86pc


$ ls
ls: illegal option -- color=auto
usage: ls -1RaAdCxmnlhogrtuvVcpFbqisfHLeE@ [files]

$ /bin/ls
Desktop kernel
Documents lib
TT_DB libiconv-1.11-sol10-sparc-local
ap libiconv-1.11-sol10-x86-local
aws lost+found
awsvobs1 mcdtools


Thanks in advance
Malli

linuxlover.chaitanya 10-27-2009 02:17 AM

In your bashrc file, there is some alias set which is creating problems. remove the alias and see if it works. The bashrc file is hidden and is .bashrc.

chrism01 10-27-2009 07:45 PM

Exactly
Quote:

ls: illegal option -- color=auto
ls has been aliased to use the --color option, not avail in your version of ls.


All times are GMT -5. The time now is 01:03 AM.