3 ms·
Just add it to your ~/.bash_profile or ~/.bashrc (source it or restart your terminal). PROMPT_COMMAND: http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x264.html ht
by BhavdeepSethi 10y ago
Just add it to your ~/.bash_profile or ~/.bashrc (source it or restart your terminal).
PROMPT_COMMAND: http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x264.html http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x264.html
Nope, no cron. It basically takes your command, and appends (creates if it does not exist) it to a file based on the current date.