Trilight Zone Forum Index Trilight Zone
Privacy & Anonymity is our speciality !
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FreeBSD : How to enable colorized ls output?

 
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other Unix
Author Message
thedark
Second Lieutenant


Joined: 30 Jul 2005
Posts: 1074

PostPosted: Sun Jul 31, 2005 8:03 am    Post subject: FreeBSD : How to enable colorized ls output? Reply with quote

1) Simple use following alias
alias ls=’ls –G’

2) Store above alias to ~/.bash_profile

3) You might need to change TERM variable to xterm-color. Use command:
export TERM=xterm-color
or
export TERM=xterm

Put any of above command in your ~/.bash_profile.

3) To customize color you need modify LSCOLORS variable and other stuff. Here is script to achieve this.

4) Call this script from your /etc/profile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other Unix All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group