In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Below by the Linux tutorial column to introduce you under the linux environment, clear the history recorded in the history of the command method, I hope to help friends in need!
1. History
This command allows you to view historical commands that have been used
II. History-c
This command and argument can clear the history historical command record
Check again
The command record is already empty
Remarks: knowledge expansion
This command only deletes the command record of the current user, not that of other users.
In fact, these records are in the current user's home directory. Bash_history similar files, of course, depends on what shell you use.
For example: vim ~ /. Bash_history opens the history command record file under the current user.
Cat or vim ~ / .bash_history to view the contents of the file
These are the details of the historical commands recorded in history under linux. Please pay attention to other related articles for more.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.