Linux Terminal 201: Customize The Shell Prompt – HakTip 148



Linux Terminal 201: Customize The Shell Prompt – HakTip 148

Linux Terminal 201: Customize The Shell Prompt - HakTip 148

Hak5 — Cyber Security Education, Inspiration, News & Community since 2005:
____________________________________________
Today on HakTip, we’re customizing our shell prompt!
——————————-
Shop: http://www.hakshop.com
Support: http://www.patreon.com/threatwire
Subscribe: http://www.youtube.com/hak5
Our Site: http://www.hak5.org
Contact Us: http://www.twitter.com/hak5
Threat Wire RSS: https://shannonmorse.podbean.com/feed/
Threat Wire iTunes: https://itunes.apple.com/us/podcast/threat-wire/id1197048999
——————————

Subscribe to Hak5’s YouTube channel at http://www.youtube.com/hak5
Support Hak5 via our shop at https://www.hakshop.com

Commands I used on this episode include:

echo $PS1

original_backup=”$PS1″

PS1=

PS1=”$”

PS1=”[33[0;35m]u@h:w$ ”

PS1=”[33[1;35m]u@[33[1;36m]h:[33[1;32m]w[33[1;37m]$ ”

End the line with [33[0m] to make it a black background again

Save your new lines to the bashrc file as: PS1=”[33[1;35m]u@[33[1;36m]h:[33[1;32m]w[33[1;37m]$ ”

export PS1

http://ezprompt.net/

-~-~~-~~~-~~-~-
Please watch: “Bash Bunny Primer – Hak5 2225”
https://www.youtube.com/watch?v=8j6hrjSrJaM
-~-~~-~~~-~~-~-
____________________________________________
Founded in 2005, Hak5’s mission is to advance the InfoSec industry. We do this through our award winning educational podcasts, leading pentest gear, and inclusive community – where all hackers belong.

Comments are closed.