How To: Customize bash prompts with the PS1 variable

Customize bash prompts with the PS1 variable

In this tutorial, we learn how to customize bash prompts with the PS1 variable. The PSI variable will say what something does. You can change this using the export command. Basically, you just type in the same thing and add in something. You can do this by simply typing it in using your keyboard. After this, press enter on your keyboard, then continue to change more things. There are a ton of different things you can do with this. You can find more from the website: http://pastebin.com/f2309fd10. Practice doing different prompts and save the website for future reference.

While you're stuck at home, make the most of your time by learning a new language, skill, or even train for a remote-work job with our new premium online courses.

Check them out >

Our Best Phone Hacks

Gadget Hacks' tips — delivered daily.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest