LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2007, 07:18 PM   #1
daemonkl
LQ Newbie
 
Registered: Aug 2007
Posts: 28

Rep: Reputation: 15
Colorful bash tricks


Hi!

i found the easiest way to make colorful bash is by using:
Quote:
export CLICOLOR="yes"
and when user's listing the files inside the directory, it will comes colorful

btw, i found this need to be done manually one by one
how do i set colorful bash and make it default for all users?

thank you!
 
Old 10-13-2007, 10:35 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Code:
man bash
will tell you all about which initialistion files bash
will honour under which circumstance.


Cheers,
Tink
 
Old 10-14-2007, 08:44 AM   #3
daemonkl
LQ Newbie
 
Registered: Aug 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Tinkster View Post
Code:
man bash
will tell you all about which initialistion files bash
will honour under which circumstance.


Cheers,
Tink
too much hints

btw i got hint to go to /etc/profile and edit PS1 there
thanks a lot!
 
Old 10-14-2007, 01:40 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by daemonkl View Post
too much hints
That's "too many", and you don't need to read the
whole man-page. It has a search feature; all it
takes is to type
Code:
man bash
/INVOCATION
which will take you to the section that explains to
you which files are being used to initialise bash
on start-up.



Cheers,
Tink
 
  


Reply

Tags
bash


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash tricks neil Programming 8 11-16-2006 04:49 AM
a bash file executing only "ls -l" doesn't produce colorful listing sirbijan Linux - General 2 08-06-2006 07:19 AM
how vim can be as colorful as Redhat's one fakhrul Ubuntu 2 04-18-2006 10:01 PM
colorful g++ pttcoco Linux - Distributions 2 05-30-2005 02:20 PM
KNOPPIX Colorful Console -=bcc=-E-nigma Linux - Software 4 05-01-2003 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration