How to delete history without any trace


How to delete history without any trace

history -d $((HISTCMD-1)) && history -d NO_of_History_you_want_to_delete

if you want to excute a command without leaving any trace.

history -d $((HISTCMD-1)) && type_your_command_here_and_execute

hier gefunden