You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I type in my password to the shell instead of sudo by mistake. It would be nice to have an option to delete it with history -c instead of having to find the history for osh and delete it manually. From help history in bash:
history: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]
Display or manipulate the history list.
Display the history list with line numbers, prefixing each modified
entry with a `*'. An argument of N lists only the last N entries.
Options:
-c clear the history list by deleting all of the entries
-d offset delete the history entry at position OFFSET.
The text was updated successfully, but these errors were encountered:
Sometimes I type in my password to the shell instead of
sudo
by mistake. It would be nice to have an option to delete it withhistory -c
instead of having to find the history for osh and delete it manually. Fromhelp history
in bash:The text was updated successfully, but these errors were encountered: