I use a simple alias to enable the "tracking" of commands in one or many terminal window(s):
alias trackmi='export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"'
Then I just tail -f my .bash_history ...

i have a process running always with logging file could reach up to 5 giga, sometime i have to take slice of this log based on interval of time (usually i used dd).
is there any command in linux to ...

In one of my script, I need to find a 2 days back date from a given date. I have been using the below without any issue since long time, but it's just the first time I got a error which drilled down ...

I want to create account expiry alerts therefore I need to write a script which could alert me before 1 month of expiry over email. I'm working on Linux.
I can get expiry information as 2015-27-03. ...

The date command doesn't offer such thing, which is kind of sad since RFC-3339 is the modern, widespread, sane format used everywhere (except in email which is neither modern nor sane).
My timezone ...

I have daily files that come in via FTP with incorrect dates in the first column of the file. I have figured out how to deduct one day to derive the correct date and print this to a new file. The main ...

I am attempting to create a tmux status bar which shows three timezones:
US Eastern Time :: UTC :: Central European Time. Using the TZ environment variable makes the date command show the time in a ...

If you have a graphical display manager, you can notice date and time there, but I haven't seen such a thing when it comes to TTY. If I want to check the current time (or date) I have to log in. It's ...

I run who -b to get the date of the last reboot. It returns 2013-10-29 14:55.
Now ran by a daemon (I am sending this date to a server) it returns Oct 29 14:55. But some other times (before last reboot ...