Show HN: Designing a Personal Shell command keeper
github.com
github.com
$ watch -n1 free -m # Display and update Ram...
$ history | grep Ram
Or
$ grep Ram .bash_history
$ # Don't want to execute, just remember? Comment the entire line
(obviously with large history filesize set)Of course history wasn't shared across boxes, so that one advantage of this solution. Good stuff!
Edit: Just thought about this -- to share across boxes, just stick in a rync/scp/..whatever command in .bash_logout or a crontab or if you really want to get fancy set up an inotify ...