Monday, October 17, 2016

Bash (Unix shell): Changing Command Prompt

Command:

$ PS1="( ^ω^ ) "


Result:

( ^ω^ )


Command:

( ^ω^ ) PS1="$ "


Result:

$