Questions tagged [color]
Colors, specifically on the commandline, can make the standard black-and-white terminal more intuitive and visually interesting.
40
questions
1
vote
0
answers
101
views
Given a command whose STDOUT prints to several lines, how might I format each of them (e.g. prepend a string, change a color, etc.)
Okay, so, contrived example here, but it's the simplest instance I could come up with the produces the conditions I'm trying to alter.
I'm trying to run a black-boxed command and alter the multi-line ...
1
vote
2
answers
187
views
Console File Color
Asterisk is generating a log file with following content:
#033[1;31mWARNING#033[0m[10505]:#033[1;37mres_phoneprov.c#033[0m:#033[1;37m1232#033[0m #033[1;37mget_defaults#033[0m:
#033[1;31mERROR#033[0m[...
3
votes
1
answer
2k
views
How do I set a custom default accent color during deployment of Windows 10?
When deploying Windows 10, I am able to set a partial custom theme using the settings in unattend.xml as follows:
<settings pass="oobeSystem">
<component name="Microsoft-...
0
votes
0
answers
237
views
*searching* for color changes in less
I have less already displaying colored output (e.g. from Vagrant or Packer) by having the LESS environment variable set to -R.
What I'd like to be able to do now is to search for specific colors, e.g....
11
votes
1
answer
7k
views
htop res & virt colors
I did some googling about htop, I found this and this.
But I couldn't seem to find what the red color of virt and res means.
As you can see in the screenshot, some are whitish and other are red.
Does ...
5
votes
1
answer
8k
views
How to get color output from SSH command
I'm trying to run some commands remotely and recieve the output back with color. What am I missing?
Here's what I've got so far:
example.sh
. /etc/profile
[[ -f ~/.profile ]] && . ~/....
6
votes
3
answers
3k
views
configuring command prompt in Asterisk CLI
I am trying to set up color prompt in asterisk CLI. In the documentation I have found this:
%Cn[;n] Change terminal foreground (and optional background) color to
specified. A full list of colors may ...
1
vote
1
answer
1k
views
Putty terminal color problems for Solaris
So I'm working on a Solaris 10 box from Putty running on Windows 7, and having a lot of trouble getting the terminal colors to work properly in actual programs like vim or tmux.
Here is the output ...
6
votes
0
answers
2k
views
CentOS colors in php-cli applications [closed]
I'm managing a server with CentOS 6.5 x64 installed.
In my Ubuntu server, when I run composer or Laravel's artisan php cli command, parameters are colorful.
But this doesn't happen when I SSH into a ...
1
vote
1
answer
304
views
How to have Nagstamon to mirror color alarms in Nagios
I wonder if there a way to mirror the color alarms that in Nagios to Nagstamon?
For example I have it setup when, I set a critical alarm that has been acknowledge, the color changes from red to ...
0
votes
1
answer
6k
views
Change Windows Server 2012 color scheme without Desktop Experience feature [closed]
I have a Windows Server 2012, blue is nice... but I'd prefer a less "eyes puncher" color, maybe gray or black...
I'm a GNU/Linux sysadmin and just the fact of have the entire GUI on a server is ...
11
votes
1
answer
30k
views
Customizing powershell font face and size
We have a number of windows 2012 server core systems with powershell setup as the default shell using the following commands:
$RegPath = "Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\...
0
votes
1
answer
686
views
puppet master --compile logs errors to stdout
I see a bug about this that was accepted and then closed a year ago: http://projects.puppetlabs.com/issues/3670 but I'm using puppet 2.7.14 and am getting the same issue.
I'm trying to use "puppet ...
2
votes
4
answers
2k
views
How do I make grep results colored?
I have some output of my program:
# php check.php | grep -E "rule_1|rule_4"
I would like results equaling to rule_1 to be red and results equaling to rule_4 to be blue.
Is this possible, because at ...
4
votes
1
answer
1k
views
Disable colour output from /etc/init.d scripts?
On RedHat/CentOS systems, all of the service management scripts in /etc/init.d (and also run by the "service" command) produce color output. (i.e. the "[ OK ]" and "[FAILED]" strings.) How do I ...
0
votes
2
answers
881
views
bash_profile white font bold to normal
# my .bash_profile
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
YELLOW="\[\033[0;33m\]"
WHITE="\[\033[1;37m\]"
PS1="\w$YELLOW \$(...
2
votes
2
answers
11k
views
Solarized Colour Theme in .bashrc
I am looking to see if there is a way to implement the solarized them through just a .bashrc file. Would it be possible to do so? Has anyone tried this before?
I guess I would start by modifying ...
1
vote
2
answers
151
views
Will a gigabit JetDirect card make a difference?
We have a HP Color LaserJet 4650 running a JetDirect model J3113A JD33, ROM G.07.19, Revision G.08.49, connected at 100Mbps. The memory has been maxed out at 544MB
However, this particular printer ...
12
votes
2
answers
7k
views
How to tell Vim to extend the background color to the whole screen?
I have an issue with the Vim color schemes: The background color does not fill the whole screen. For example, in the "blue" color scheme the whole screen should turn blue. Instead, the blue background ...
9
votes
4
answers
19k
views
Specifying a log name for screen output without relying on .screenrc
In a Bash script, I use "screen -L" to log executed commands in color. For example:
screen -L tree
Then we read the logfile with less -R.
When this script is executed, other screens are potentially ...
0
votes
1
answer
123
views
Why MS Virtual PC has the limitation about 16 bits per pixel? Is it possible to hack this up to 24/32 bpp?
I don't get it. Why did they set such limitation? Just want to know the reason.
Maybe it can be hacked somehow?
Virtual PC version: latest Windows Virtual PC
Host OS: Windows 7 x64
Guest OS: Windows ...
5
votes
3
answers
8k
views
Color awk output on commandline?
When i process a logfile in awk, is there a possibility to colorize the output on commandline?
1
vote
2
answers
566
views
VIM Color Scheme issue(s)
My Problem is that I am having trouble installing and using a new color scheme for VIM 7.2.
Here's what I'm doing to install the new color scheme:
I navigate to the terminal on my local machine: ...
0
votes
1
answer
1k
views
32-bit color with XenServer
How can I get my guest VMs running with XenServer to have 32 bit color depth? The computer I'm on is at 32-bit. I RDP into a VM which is running XenCenter. I can't switch its color depth away from 16-...
4
votes
3
answers
8k
views
How do I change the bg color of chmod 777 directories in tcsh?
On my MacBook Pro, I have iTerm and use the (black background) Pastel color set. World writable directories show up with a yellow background behind grey text. This I can live with, since the grey is ...
8
votes
7
answers
5k
views
Linux Colorize Find?
Is it possible to 'colorize' the output from find?
I have a find that searches /home on all of my servers, and exec 'rm' certain files. As these are mixed in with my other find results, among ...
2
votes
3
answers
437
views
Changing a specific command line color
When I do ls, the blue color is virtually impossible to read quickly or at a distance (screenshot below). I really want to change that to a readable color (lighter blue maybe?).
The command to change ...
1
vote
3
answers
779
views
strip out VT100 control characters from a log file
I've got a file that's full of VT100 color codes, which is making it hard to search. Is there a unix utility that can strip those out so I'm left with plain text?
7
votes
3
answers
42k
views
Changing terminal colors in Ubuntu Server [closed]
I'd like to change the colors. The lime green hilighting on pale blue colored file names is killing my eyes.
I'm not sure if I'm using xterm or gnome or whatever, but I would like to change the ...
5
votes
2
answers
12k
views
How to enable ANSI escape codes in Windows cmd?
What is the simplest way to enable ANSI escape codes (eg. colored output) in Windows cmd?
0
votes
2
answers
3k
views
Ubuntu-Server bash colors not appearing on login
I am running Ubuntu Server 8.04 (hardy), and when I login remotely i can't see the colors when using ls, however after I type "bash" into the shell I see colors, I've already checked my .bashrc and ...
3
votes
8
answers
13k
views
Separate color from black-and-white pages for printing
My organization has a leased color printer. We pay a per-page cost to the lessor, and the color page cost is far greater than the black-and-white page cost. Our users are pretty good about selecting ...
2
votes
2
answers
5k
views
Cat5e cable: what are each color used for?
I have been curious on this for a while since there are some people who use a modified CAT5e cable with a switch to disconnect data sending without actually disconnecting the whole internet connection....
1
vote
1
answer
185
views
Matches in color, others just shown
I'm just trying to get grep to show all the lines, but the ones that match should have the matching text colored.
Specifically I need this for something like this:
tail -f file.log | grep --color ...
164
votes
11
answers
67k
views
bash: print stderr in red color
Is there a way to make bash display stderr messages in red color?
39
votes
8
answers
32k
views
Colorize Monitoring of Logs
I sometimes monitor apache and php error logs using tail under FreeBSD. Is there any way to get colorized output, either using tail or some other command line app?
Alternatively, what is your ...
2
votes
2
answers
3k
views
Remote Desktop Printing With Color
Our ACCPACC administration software runs on an off-site dedicated hosted computer, running Windows 2003 Server with a completely different NT DOMAIN.
We have many users connecting to that computer ...
7
votes
6
answers
3k
views
Globally Coloring the Terminal by Regex
I know many programs use color - (vim, ack, color-ls to name a few) but there are still many cases where you're stuck with black and white.
There are scripts that will color output based on regular ...
1
vote
7
answers
10k
views
Is there a quick way to change desktop colors for a remote desktop user?
Some users who connect to the server using Remote Desktop (mstsc) are locked to a particular program: when they login, the program starts; when they quit the program, they're logged out.
One of them ...
1
vote
1
answer
189
views
Color profiles for large network printer
We're planning to buy a large color networked laser printer / photocopier / scanner device, something around the $10,000USD range. This, as standard, understands PCL (version 5e, I think). How do I ...