- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to disable color change when going to othe...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 04:47 PM
тАО10-30-2001 04:47 PM
How to disable color change when going to other directories?
Thanks in advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 02:36 AM
тАО10-31-2001 02:36 AM
Re: How to disable color change when going to other directories?
Just 'cd'-ing to the directory changes the colors or after you do a 'ls' on it? Anyway, try setting your terminal to another thing, like 'linux', 'ansi' or 'vt100' and see the differences.
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 05:08 PM
тАО10-31-2001 05:08 PM
Re: How to disable color change when going to other directories?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 05:47 PM
тАО10-31-2001 05:47 PM
Re: How to disable color change when going to other directories?
If the issue you have is merely with the vt100 profile, I'd recommend that you just change the entry in /etc/DIR_COLORS for vt100 terminals so that the results will be more to your liking.
If, on the other hand, you just don't want the colorizing in your profile, no matter which terminal type you're using, then change your .bashrc to not call /etc/bashrc, and skip the whole mess.
Best of tweaking....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 07:09 PM
тАО10-31-2001 07:09 PM
Re: How to disable color change when going to other directories?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2001 05:03 PM
тАО11-03-2001 05:03 PM
Re: How to disable color change when going to other directories?
The simplest way to check the theory is to do:
unalias ls
And try a ls -l on any directory.
The "ls" command is normally aliased to "ls --color==tty", giving your the color output. If after the 'unalias' command your problem is solved, it's just a matter of editing a few config files (under /etc/profile.d, if I remember correctly) to make it permanent.
Paga