How to setup BASH custom prompt in Ubuntu

I wanted two things:

  • the time in my prompt
  • a colour prompt


  • it’s located in: ~/.bashrc
  • uses Environment Variable: PS1
  • time is inserted using: \t


I started here:


PixelBeat discussion on coloured command prompts

how to guid for customing the command prompt

Leave a comment

Your email address will not be published. Required fields are marked *