WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Aliases

    Linux
    1
    1
    11
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by

      To add aliases to the bash shell on every bash season for the user edit the .bashrc file

      nano ~/.bashrc
      

      There you can add an alias like in this example:

      alias pns_script='/usr/local/pns/scripts_menu.sh'
      alias report='python3.6 /home/nulm/public-scripts/getServiceDetails'
      

      we added "pns_script" and "report" in this example.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors