Thursday, August 11, 2011

Learn Bash: Remove Commands from your History - Raw Syntax

Learn Bash: Remove Commands from your History - Raw Syntax: "# entry 3 will be removed entirely from your command history
bash-3.2$ history
1 history
2 sudo rm -i some_file
    3 history
4 history -d 3
    5 history -w
    6 history"