Langsung ke konten utama

Postingan

Menampilkan postingan dengan label Color

BASH - How Do I Get a Colored Bash

BASH - How do I get a colored bash?   Open ~/.bashrc in an editor Copy this and add it at the end of .bashrc file: PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] ' Save the file and restart bashrc: $ source ~/.bashrc $ PS1='\[\033[1;36m\]\u\[\033[1;31m\]\$\[\033[0m\] '