Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to turn off color on Kshell or Cshell with ls command
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Micz
n00b
n00b


Joined: 07 Jul 2004
Posts: 32

PostPosted: Thu Jun 09, 2005 6:49 pm    Post subject: How to turn off color on Kshell or Cshell with ls command Reply with quote

Does anyone know how to turn off color when using ls command in cshell or kshell?

Thx in advance
Back to top
View user's profile Send private message
Syque
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2004
Posts: 110

PostPosted: Thu Jun 09, 2005 11:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum