View previous topic :: View next topic |
Author |
Message |
Micz n00b
Joined: 07 Jul 2004 Posts: 32
|
Posted: Thu Jun 09, 2005 6:49 pm Post subject: How to turn off color on Kshell or Cshell with ls command |
|
|
Does anyone know how to turn off color when using ls command in cshell or kshell?
Thx in advance |
|
Back to top |
|
|
Syque Tux's lil' helper
Joined: 15 Aug 2004 Posts: 110
|
Posted: Thu Jun 09, 2005 11:25 pm Post subject: |
|
|
ls --color=never to turn it off once.
The global config file /etc/csh.cshrc sources the file /etc/profile.d/tcsh-aliases, which sets an alias for ls that makes ls use color. So either edit the file /etc/profile.d/tcsh-aliases or add the line
unalias ls
to your personal .cshrc file.
I have no idea about kshell. |
|
Back to top |
|
|
|