How to Clear Terminal History in Kali Linux | clear_history

How to Clear Terminal History in Kali Linux | clear_history


  1. open ~/.zshrc
  2. add the following line

    alias clear_history='echo "" > ~/.zsh_history & exec $SHELL -l'
    
  3. Save and close the file

  4. Close the console or type zsh
    if you to see the result directly, this will open another zsh shell in the old one
  5. Now you can clear the console by typing clear_history

How To Create a Ping Script in Python || Python Ping Script | Citi Solution

 How To Create a Ping Script in Python || Python Ping Script | Citi Solution Youtube Video Source Code import os ipaddr = "google.com&...