Questions tagged [color]

Colors, specifically on the commandline, can make the standard black-and-white terminal more intuitive and visually interesting.

Colors, specifically on the commandline, can make the standard black-and-white terminal more intuitive and visually interesting.

39 questions
152
votes
11 answers

bash: print stderr in red color

Is there a way to make bash display stderr messages in red color?
kolypto
  • 10,738
  • 12
  • 51
  • 66
38
votes
8 answers

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 favorite way to monitor the various web-related logs in…
Ian
  • 1,488
  • 4
  • 26
  • 32
11
votes
2 answers

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 only extends to the end of each line. Is this a…
chiborg
  • 1,043
  • 2
  • 13
  • 26
10
votes
1 answer

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 it simply means allot of memory used or is it…
jorne
  • 203
  • 2
  • 5
10
votes
1 answer

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\SOFTWARE\Microsoft\Windows…
Brad
  • 589
  • 1
  • 9
  • 26
8
votes
4 answers

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 running so we don't know which screenlog.*…
Philippe Blayo
  • 271
  • 1
  • 2
  • 10
8
votes
7 answers

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 other things, I'd like to colorize them. Is this…
JPerkSter
  • 285
  • 2
  • 12
7
votes
3 answers

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 be found in include/asterisk/term.h* But nowhere…
user1968963
  • 101
  • 1
  • 5
7
votes
6 answers

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 expressions (i.e. "make anything that matches 'dog'…
Jimmy
  • 293
  • 3
  • 7
7
votes
3 answers

Changing terminal colors in Ubuntu Server

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 default color scheme (preferable to something less…
Josh K
  • 454
  • 1
  • 6
  • 18
6
votes
0 answers

CentOS colors in php-cli applications

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 CentOS server and run composer again. As you can…
Arda
  • 285
  • 2
  • 7
5
votes
1 answer

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 ]] && . ~/.profile; [[ -f ~/.bashrc ]] && . ~/.bashrc; echo "hello remote" cd…
Andy Fleming
  • 163
  • 1
  • 4
5
votes
2 answers

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?
Jakub Arnold
  • 1,674
  • 10
  • 25
  • 33
4
votes
1 answer

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 disable this? (The color-producing escape…
ithinkihaveacat
  • 1,604
  • 3
  • 14
  • 18
4
votes
3 answers

Color awk output on commandline?

When i process a logfile in awk, is there a possibility to colorize the output on commandline?
NES
  • 205
  • 2
  • 8
1
2 3