In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to delete the historical record under the Linux system", the content of the explanation in the article is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, to study and learn "how to delete the historical record under the Linux system"!
Note: if the target is a linux server when invading, don't forget the record of the history command when you clean up the trace.
1. Modify / etc/profile to change HISTSIZE=1000 to 0 or 1
Clear the user home path. Bash_history
2. Immediately clear the record of history's current history commands.
History-c
3. When bash executes the command, it does not immediately write the command name into the history file, but is stored in the internal buffer, and will be written when bash exits.
However, you can call the 'history-w' command to ask bash to update the history file immediately.
History-w
Thank you for your reading, the above is the content of "how to delete the historical records under the Linux system". After the study of this article, I believe you have a deeper understanding of how to delete the historical records under the Linux system. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.