The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

clean computer history

Discussion in 'General Discussion' started by meldasump, Sep 6, 2012.

  1. meldasump

    meldasump Registered

    Joined:
    Sep 6, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    how to clean computer history?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Do you mean /root/.bash_history file that is used if you type "history" command in root SSH without the quotes?

    Why precisely would you like to clear the history?
     
  3. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    If you want to clear your server's ssh history, you can run the following command as root user:

    history -c
     
Loading...

Share This Page