Quantcast
Channel: IT-Linux
Viewing all articles
Browse latest Browse all 171

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

$
0
0

I'm working in Ubuntu bash terminal application and remotely on a RHEL server in cloud platform. I did typed a few command wrongly or commands which can damage my system. I no longer wish to remember those command in the history. How can I remove or delete a single command line from bash history?


Viewing all articles
Browse latest Browse all 171

Trending Articles