Linux 101 Hacks

06. Colorful Shell Prompt Using PS1

Hack 43. Use shell script inside PS1 variable

by Ramesh

Hack 42. Use bash shell function inside PS1 variable

by Ramesh

Hack 41. Create your own prompt using the available codes for PS1 variable

by Ramesh

Hack 40. Change the prompt color using tput

by Ramesh

Hack 39. Display multiple colors in the prompt

by Ramesh

Hack 38. Change background color of the prompt

by Ramesh

Hack 37. Change foreground color of the prompt

by Ramesh

Hack 36. Display output of any command in the prompt

by Ramesh

Hack 35. Display current time in the prompt

by Ramesh

Hack 34. Display username, hostname and basename of directory in the prompt

by Ramesh

Bash 101 Hacks Book Sed and Awk 101 Hacks Book Nagios Core 3 Book Vim 101 Hacks Book

Home | Linux 101 Hacks - Table of Contents | Contact | Email | RSS | Copyright © 2009–2013 Ramesh Natarajan. All rights reserved | Terms of Service