Home » 2014 » September » 21

Share on Google+

Here in this article, we will learn how to change your command prompt strings in Linux environment or keep a prompt string of your own choice.

Before we change the command prompt strings, we need to learn the global variables $PS1, $PS2, $PS3, $PS4. Because these are the variable which defines the prompt strings. So lets have a look at short description on them.


  • PS1: This is the global variable used to define the main prompt string in linux environmen
Category: Open System-Linux | Views: 1549 | Added by: shanky | Date: 2014-09-21 | Comments (0)