How to customize terminal kali linux
Cara merubah tampilan terminal
You can change the interface your terminal if yo wanna your terminal goog looking like this
Follow this steps:
1. Open your .bashrc using texteditor (nano, gedit, leafpad)
2. Find this code
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" . Add # before it. So, it change like this
3. Copy and paste this code after that code. See the picture below
PS1="\n \[\e[1;30m\]\n\[\033[0;37m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[1;34m\]\u\[\033[0;37m\]]\342\224\200[\[\033[1;31m\]\e[40m\h'; else echo '\[\033[0;36m\]\u\[\033[0;37m\]]\342\224\200[\[\033[0;31m\]\h'; fi)\[\033[0;37m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;37m\]]\n\[\033[0;37m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]"
4. Save, and reopen your terminal. Awesome!. The code can be customize terminal if you wanna do :D
That's all how to customize terminal kali linux. Thanks for coming my site.
command terminal | kali linux terminal
command terminal | kali linux terminal
0 comments