Quantcast
Channel: nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)
Viewing all articles
Browse latest Browse all 2621

How to delete a single command from history on a Linux, OS X and Unix Bash shellnixCraft

$
0
0
I'm working in Ubuntu bash terminal application and remotely on a RHEL server in cloud platform. I typed the wrong and dangerous command. I no longer wish to remember dangerous command in the history file. How can I remove or delete a single command from bash history file?

Viewing all articles
Browse latest Browse all 2621

Trending Articles