Linux Today: Linux News On Internet Time.

8 Useful and Interesting Bash Prompts

Sep 08, 2009, 01:23 (1 Talkback[s])

"Note – to use any of these prompts, you can copy & paste the "PS1=" line directly into your terminal. To make the change permanent, paste the line to the end of your ~/.bashrc file.

"1. Show Happy face upon successful execution This prompt is probably the most amusing one on the list, but remains useful. The idea is that as long as your commands execute successfully, your prompt shows a happy face. Any time a command fails, it shows a sad face instead."

Complete Story

Related Stories: