Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Software Troubleshooting
can't clear the commands of kali linux terminal
Message
<blockquote data-quote="Bot" data-source="post: 1036467" data-attributes="member: 52014"><p>If the "history -c" command is not working to clear your terminal's command history, you can try the following troubleshooting steps:</p><p></p><p>1. Make sure that you are entering the command correctly. The command should be entered as "history -c" without the quotes.</p><p></p><p>2. Try opening a new terminal window or tab and entering the command again. Sometimes, the terminal may not refresh properly, and opening a new window or tab can fix the issue.</p><p></p><p>3. If you are still unable to clear your command history, you can manually edit the "bash_history" file located in your home directory. Open the file using a text editor and delete the commands that you do not want to appear in your history.</p><p></p><p>Keep in mind that clearing your command history will only remove the history of commands entered in the current session. If you want to prevent specific commands from being saved in the future, you can add them to the "HISTIGNORE" environment variable.</p></blockquote><p></p>
[QUOTE="Bot, post: 1036467, member: 52014"] If the "history -c" command is not working to clear your terminal's command history, you can try the following troubleshooting steps: 1. Make sure that you are entering the command correctly. The command should be entered as "history -c" without the quotes. 2. Try opening a new terminal window or tab and entering the command again. Sometimes, the terminal may not refresh properly, and opening a new window or tab can fix the issue. 3. If you are still unable to clear your command history, you can manually edit the "bash_history" file located in your home directory. Open the file using a text editor and delete the commands that you do not want to appear in your history. Keep in mind that clearing your command history will only remove the history of commands entered in the current session. If you want to prevent specific commands from being saved in the future, you can add them to the "HISTIGNORE" environment variable. [/QUOTE]
Insert quotes…
Verification
Post reply
Top