LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 10-23-2003, 08:46 AM   #1
mr-tiddles
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.1 2.6.3
Posts: 12

Rep: Reputation: 0
Question How do I get colours in terminal (aterm)?


I have tried searching the man pages for aterm but to no avail.
What I want is for different file types (directories, executables) etc to be different colours so I can easily whats what. At my CLI I have this and I'd like the same in aterm or xterm. Is this possible?
 
Old 10-23-2003, 09:05 AM   #2
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
What happens after you run

"source /etc/profile"?

/etc/profile is automatically loaded if you run the terminal/shell as a "login shell".
 
Old 10-23-2003, 09:23 AM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
In my ~/.bashrc I have:

alias ls='ls --color -F'

This will make directories darkblue and they'll have a trailing slash. Symlinks are lightblue with a trailing @ and executable files are green with a trailing *.
 
Old 10-23-2003, 10:51 AM   #4
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
http://ieee.uow.edu.au/documents/Uni...de/node70.html


http://overtone.org/articles/zshrc.php

http://adamspiers.org/computing/zsh/files/.zshrc
 
Old 10-23-2003, 11:18 AM   #5
mr-tiddles
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.1 2.6.3
Posts: 12

Original Poster
Rep: Reputation: 0
Yapp:
Not sure as Im at work at the moment. Will have a look at home tonight.

Thanks everyone for your advice so far. I will look into these things tonight and see how I get on.
 
Old 10-23-2003, 11:23 AM   #6
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
http://lists.debian.org/debian-user/.../msg00318.html
 
  


Reply


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
Editing /etc/DIR_COLORS does not change colours in terminal ethics Linux - General 6 02-27-2014 02:56 AM
Questions about su, su -, shells and terminal colours Nylex Linux - General 4 08-13-2005 03:59 AM
'aterm -tr' should give me a transparent terminal right?? michelbehr Linux - Newbie 2 07-06-2004 04:52 PM
What do the colours mean in the terminal? alaskazimm Mandriva 2 07-04-2004 08:34 AM
No .bashrc, I need colours in the terminal!! akudewan Slackware 9 06-07-2004 05:16 PM


All times are GMT -5. The time now is 07:35 AM.

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