Jump to content

BASH -- handy tips


abarbarian

Recommended Posts

Thread dedicated to useful tips on how to use bash.

 

How To Enable Timestamp In Bash History In Linux

 

Quote

You can easily find the list of recently executed commands in Linux using history command, right? Yes. But how do you know the time at which the command was executed? Of course, you can search in the log files. However, there is an easier way. You can simply enable timestamp in Bash history in Linux, so it is easier to find when was a specific command is executed in Linux.

 

Neat little tip and at the end of the article you can find details on doing the same thing in zsh and fish. 😎

  • +1 2
Link to comment
Share on other sites

😎

 

By the way, I've got the Chicago Transit Authority album here on CD. 1969, baby! It was one of the last CDs I purchased pre-pandemic. I never had the album on vinyl, though.

  • +1 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...