View previous topic :: View next topic |
Author |
Message |
ahtoon83 n00b


Joined: 24 Jun 2004 Posts: 28 Location: Malaysia
|
Posted: Wed Oct 13, 2004 8:35 am Post subject: Terminal problem |
|
|
hey,
may i know why my terminal dont have color for the file type and directory? coz normally when i open a terminal and ls the directory, the directory should be defferent color and file should be another color. Another one is my command prompt is [bash2.2]$ but not [root@compname]$ ?? every time i change directory the command prompt also didn't change, why?
thank... |
|
Back to top |
|
 |
batzee Tux's lil' helper


Joined: 27 Apr 2004 Posts: 105
|
Posted: Wed Oct 13, 2004 8:45 am Post subject: |
|
|
Maybe you have your bash configured so that you get colors only for login shells? Try bash -l in your terminal and then ls again. |
|
Back to top |
|
 |
ahtoon83 n00b


Joined: 24 Jun 2004 Posts: 28 Location: Malaysia
|
Posted: Wed Oct 13, 2004 8:53 am Post subject: thank |
|
|
no, what i mean is in my KDE terminal command line, all my command also dont have color, and even when i want to ls my directory, the filename come out without color, so is hard for me to make sure which is file and which is folder. how can i configure it so that it can have color? thank. |
|
Back to top |
|
 |
ahtoon83 n00b


Joined: 24 Jun 2004 Posts: 28 Location: Malaysia
|
Posted: Thu Oct 14, 2004 1:26 am Post subject: hi |
|
|
hi, last night i try bash -l already, the prompt seem got color and when i change directory, the promp also can show me the directory where i am, but the problem is the color of the file and directory when i ls still dont have color. Its hard for me to defferential the directory and file. Can u help me? Now everytime when i open terminal, i need to type bash -l, how to type once, and everytime when i open the terminal, i can no need to type this command again? thank. |
|
Back to top |
|
 |
ahtoon83 n00b


Joined: 24 Jun 2004 Posts: 28 Location: Malaysia
|
Posted: Thu Oct 14, 2004 5:49 am Post subject: help |
|
|
do u all know how to make it color? |
|
Back to top |
|
 |
bkzshabbaz n00b


Joined: 29 Mar 2005 Posts: 44 Location: Brooklyn NY/Fairfax VA
|
Posted: Sun Apr 03, 2005 10:47 pm Post subject: |
|
|
If you only want colors when you do a LS, then what you can do is put a alias in ur bashrc file to add the --color option.
i put it in my bashrc and now i get color whenever i do a ls |
|
Back to top |
|
 |
|