Monthly Archives: December 2014

Delete Last Command from Bash History

If you’re like me, on occasion you accidentally (or sometimes purposefully) include a password in a command. Until recently I would execute history , find the offending command’s number, then do a history -d NUMBER . It is kind of a pain. The following

Tagged with: , , ,
Posted in Tech Tips