Hey everyone, I'm looking to change the timestamp in my terminal to display military time. For example, I want it to show as [2054]-[jag@mo] instead of [08:54 PM]-[jag@Mo]. Any tips on how to make this happen?
2 Answers
To change it manually, you can edit your .bashrc file. Try adding PS1='[t] [jag@mo]' or use '[A]' for the prompt. That should set it to military time.
You might want to check your locale settings and switch to one that uses the 24-hour format. That could help with getting your terminal to display the desired time format.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures