How do I clear bash history in linux?



How do I clear bash history in linux?..

Answer / Aniruddh Dev Singh

To clear the Bash command history, use the 'history -c' command.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

How do I list all processes in linux?

1 Answers  


Write a command to find all of the files which have been accessed within the last 30 days.

8 Answers   Mphasis, TCS,


Is makefile a shell script?

1 Answers  


Which command would you use to create a file system on a new hard drive?

1 Answers  


Explain difference between swap partition and swap file?

1 Answers  


How do I permanently set ulimit in linux?

1 Answers  


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

1 Answers  


what is the command to view gateway?

5 Answers  


what is first RHEL 5.x version support ext4 filesystem?

2 Answers  


How can you check the amount of lines in a file?

1 Answers  


What is the pwd command?

1 Answers  


How do I check dns entry?

1 Answers  


Categories