If you want to configure different values use the following escape sequences.
|%T||System time (HH:MM)|
|%*||System time (HH:MM:SS)|
|%D||System date (YY-MM-DD)|
|%B – %b||Begin – end bold print|
|%U – %u||Begin – end underlining|
|%d||Your current working directory|
|%~||Your current working directory, relative to ~|
|%M||The computer’s hostname|
|%m||The computer’s hostname (truncated before the first period)|
|%l||Your current tty|
Remember you can always use the values that are available to your session.
You can also change the hostname of the machine with the following command.
That’s all there is to it.
Make sure if you found this post informative that you share it with your colleagues.
Talk to you next time,
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More