Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-28-2002, 03:00 AM   #1
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
How to turn off color listing in regular Linux terminal ..

Hi. This is not really a problem but I am just curious as to why at just the plain old linux terminal (without X started) ... 'ls' lists files in color? While back in X at an xterm I have to type 'ls --color' as I have not yet set any alias'.

Not that I would want to .. But is there a way to turn off the color ls listing in
terminal outside of X?

Also wondering why it lists in color by default although I have not set any alias' yet?

Old 10-28-2002, 03:16 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
The default behaviour is to not use any colours. So there must have been an alias set somewhere. Try just typing the command alias to see which aliases have been set. You should be able to run 'unalias ls' to get rid of colours.
Old 10-28-2002, 03:26 AM   #3
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
thanks Mik!! I typed 'alias; and I typed 'echo $LS_OPTIONS' and there was something like ls color=auto or similiar.

thanks again


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
right click to see terminal option - how to turn it on feetyouwell Linux - Software 0 05-12-2005 09:24 PM
dir color listing nash Linux - General 5 11-14-2004 01:05 AM
Listing kernel modules in a terminal brunnopessoa Fedora 3 10-12-2004 06:58 PM
How to boot into terminal (turn off x-windows) Arodef Fedora 4 07-21-2004 01:41 PM
get terminal color? cratos Programming 0 07-16-2003 03:04 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration