Skip to main content
Spelling, add name of question
Source Link
Matthias Braun
  • 8.8k
  • 8
  • 51
  • 63

What color codes can I use in my bashBash PS1 prompt?

I used several colors in my bash PS1 prompt such as:

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also: https://unix.stackexchange.com/a/127800/10043How can I get my PS1 prompt to show time, user, host, directories, and Git branch

What color codes can I use in my bash PS1 prompt?

I used several colors in my bash PS1 prompt such as

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also https://unix.stackexchange.com/a/127800/10043

What color codes can I use in my Bash PS1 prompt?

I used several colors in my bash PS1 prompt such as:

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also: How can I get my PS1 prompt to show time, user, host, directories, and Git branch

added 5 characters in body; edited title
Source Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 238

What color codes can I use in my bash PS1 prompt?

I used several colors in my bash PS1 prompt such as

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also https://unix.stackexchange.com/a/127800/10043

What color codes can I use in my PS1 prompt?

I used several colors in my PS1 prompt such as

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also https://unix.stackexchange.com/a/127800/10043

What color codes can I use in my bash PS1 prompt?

I used several colors in my bash PS1 prompt such as

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also https://unix.stackexchange.com/a/127800/10043

replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

I used several colors in my PS1 prompt such as

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console ColorColorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also http://unix.stackexchange.com/a/127800/10043https://unix.stackexchange.com/a/127800/10043

I used several colors in my PS1 prompt such as

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also http://unix.stackexchange.com/a/127800/10043

I used several colors in my PS1 prompt such as

\033]01;31\] # pink \033]00m\] # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow 

Where can I find a list of the color codes I can use?

I looked at Colorize Bash Console Color but it didn't answer my question about a list of the actual codes.

It would be nice if there was a more readable form also.

See also https://unix.stackexchange.com/a/127800/10043

added 55 characters in body
Source Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 238
Loading
edited title
Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 238
Loading
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k
Loading
Source Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 238
Loading