Vivek Gite @ Cyberciti has a really nice tip for the "history" command. Normally, running the command "history" in a terminal will give you an output which looks like this:
Showing the exact date next to each command would be incredibly useful, don't you think? Have a look:
To achieve this, all you have to do is copy/paste the following commands in a terminal:
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bashrc
source ~/.bashrc
Tidak ada komentar:
Posting Komentar