How do you delete entries in Linux?

How do you delete entries in Linux?
Answer
To remove a single line from the history file,
use the -d option
. For example, if you want to clear a command where you entered clear-text password as in the scenario above, find the line number in the history file and run this command.
 

Tìm kiếm

Back
Top