Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Terminal problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ahtoon83
n00b
n00b


Joined: 24 Jun 2004
Posts: 28
Location: Malaysia

PostPosted: Wed Oct 13, 2004 8:35 am    Post subject: Terminal problem Reply with quote

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
View user's profile Send private message
batzee
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 105

PostPosted: Wed Oct 13, 2004 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message
ahtoon83
n00b
n00b


Joined: 24 Jun 2004
Posts: 28
Location: Malaysia

PostPosted: Wed Oct 13, 2004 8:53 am    Post subject: thank Reply with quote

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
View user's profile Send private message
ahtoon83
n00b
n00b


Joined: 24 Jun 2004
Posts: 28
Location: Malaysia

PostPosted: Thu Oct 14, 2004 1:26 am    Post subject: hi Reply with quote

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
View user's profile Send private message
ahtoon83
n00b
n00b


Joined: 24 Jun 2004
Posts: 28
Location: Malaysia

PostPosted: Thu Oct 14, 2004 5:49 am    Post subject: help Reply with quote

do u all know how to make it color?
Back to top
View user's profile Send private message
bkzshabbaz
n00b
n00b


Joined: 29 Mar 2005
Posts: 44
Location: Brooklyn NY/Fairfax VA

PostPosted: Sun Apr 03, 2005 10:47 pm    Post subject: Reply with quote

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.
Code:
ls --color


i put it in my bashrc and now i get color whenever i do a ls
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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