About history command
Hi There,
how to show date and time in history command, and the same need to be set for more than 100 users at a time, so they can see history with date and time details.. Thanks! Jitesh |
Have a look at the bash man page (look for HISTTIMEFORMAT).
Adding the following to /etc/bashrc (or equivalent) will make it global for all users: Code:
export HISTTIMEFORMAT='%F %T ' |
Quote:
for all users, as said from druuna modifty the global file /etc/bashrc and not .bashrc (file that you find under each user's /home) |
All times are GMT -5. The time now is 06:01 PM. |