Discover Centmin Mod today
Register Now

Beta Branch add pwdh alias command

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 2, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,563
    6,851
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,268
    Local Time:
    10:05 AM
    Nginx 1.13.x
    MariaDB 5.5
    add pwdh alias command

    in 123.09beta01 and higher, add pwdh alias command which like pwd command displays the present working directory, but pwdh command also displays the server's hostname so you can double check you are working on the correct server with pwdh command before running a command https://community.centminmod.com/posts/44209/

    Continue reading...

    123.09beta01 branch
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,563
    6,851
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,268
    Local Time:
    10:05 AM
    Nginx 1.13.x
    MariaDB 5.5
    so when you type pwdh
    Code (Text):
    pwdh
    host1.domain.com /root
    

    Code (Text):
    cd /home/nginx
    pwdh
    host1.domain.com /home/nginx