Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do I clear my terminal history?



How do I clear my terminal history?..

Answer / Ankur Kumar Tomer

To clear the terminal history in bash, use the 'history -c' command. In zsh, you can use 'history -w' to write the history file and then remove it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

Where can I get the free download of Unix by Yeswant Kanetkar?

5 Answers  


What command will change your prompt to myprompt?

1 Answers  


distinguish between paging and swapping?

3 Answers   Infosys,


What is the use of sed command in unix?

1 Answers  


what does the 'tee' command do?

4 Answers  


What is command substitution?

1 Answers  


How to copy multiple files and directories into some other directory?

4 Answers  


which command is used to identify the type of the file?

3 Answers  


what will be the output of ls ~/..

27 Answers   ABC,


Will rm -r* removes hidden files?

10 Answers  


What command would users use to see what file one page at a time in UNIX?

7 Answers   IBM,


What are the unix commands?

1 Answers  


Categories