- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Why will change the colour
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
Forums
Discussions
Discussions
Discussions
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
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
11-28-2007 09:00 PM
11-28-2007 09:00 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2007 09:24 PM
11-28-2007 09:24 PM
Re: Why will change the colour
You could try setting the terminal type to something that doesn't support colour.
The syntax will probably depend on what shell you're using, but could be something like:
# TERM=vt100;export TERM
You might also need to configure your terminal emulation program to identify its self as a different type of terminal.
Hope this helps,
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 12:40 AM
11-29-2007 12:40 AM
Re: Why will change the colour
alias
You will see some "color" that you could remove from the alias.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 01:40 AM
11-29-2007 01:40 AM
SolutionYou can turn off the colors for the 'ls' command by adding '--color=none':
# ls -l --color=none
If you wish to add the option permanently to your sessions, add an alias to your '.bashrc' like:
alias ls='ls --color=none'
...then if/when you want colors, at the command line do:
# ls -l --color=yes
The manpages for 'ls' offer more information as always!
PLEASE also read this. You have a variety of queries that remain un-evaluated. Scoring answers adds value to this community at large:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
You can find your recent questions in your profile:
http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA1498473&forumId=1
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2007 02:05 AM
11-30-2007 02:05 AM
Re: Why will change the colour
export TERM=tty