Adding Timestamp to CLI

When doing any bug bounty or testing it might be handy to add a timestamp to your CLI so when you copy and paste the output of your commands the other end can match up the time you executed them and rule you out of being the cause of some mad mess.

Add this to your .bashrc or .bash_profile

https://gist.github.com/random-robbie/01792481ef7be26b9727e2fb4681c61e

And you will get

Last login: Thu Jan 30 10:14:30 on ttys006
[2020-01-30T10:24:46Z] [email protected]:~$

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.