Home / Linux / CLI Utility Tools / Add scripts to auto execute

Add scripts to auto execute


  • Save script in ~/bin without the .sh extension
  • Add ~/bin to PATH:
    1. export PATH=$PATH:~/bin
  • Or add as last line to ~/.bashrc

    Post a comment

    Your Name or E-mail ID (mandatory)

    Note: Your comment will be published after approval of the owner.




     RSS of this page