LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Colorful bash tricks (https://www.linuxquestions.org/questions/linux-newbie-8/colorful-bash-tricks-591584/)

daemonkl 10-13-2007 06:18 PM

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!

Tinkster 10-13-2007 09:35 PM

Code:

man bash
will tell you all about which initialistion files bash
will honour under which circumstance.


Cheers,
Tink

daemonkl 10-14-2007 07:44 AM

Quote:

Originally Posted by Tinkster (Post 2923397)
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!

Tinkster 10-14-2007 12:40 PM

Quote:

Originally Posted by daemonkl (Post 2923680)
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


All times are GMT -5. The time now is 09:01 AM.