Welcome back, let’s discuss something that many UNIX/Linux users do not think about it even after they’ve been working on systems for years. Let’s discuss the bash prompt. If you don’t know what the bash prompt is, the bash prompt is the text that appears on the command line right before the cursor. Most Linux systems have a default bash prompt something like:
root@localhost:~#
The above prompt displays the user, the system name, and current directory and a $ or # depending if you are a regular or superuser. Continue reading “The Perfect Bash Prompt (PS1)”