Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch add pwdh alias command

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

  1. eva2000

    eva2000 Administrator Staff Member

    54,935
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:18 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,935
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:18 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    so when you type pwdh
    Code (Text):
    pwdh
    host1.domain.com /root
    

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