pwd command sa Linux/Unix

Unix/Linux pwd command.

pwd - print working directory, ay isang Linux command para makuha ang kasalukuyang working directory.

pwd syntax

$ pwd [option]

mga halimbawa ng utos ng pwd

Baguhin ang direktoryo sa /usr/src na direktoryo at i-print ang gumaganang direktoryo:

$ cd /usr/src
$ pwd
/user/src

 

Baguhin ang direktoryo sa home directory at i-print ang gumaganang direktoryo:

$ cd ~
$ pwd
/home/user

 

Baguhin ang direktoryo sa parent directory ng home directory at print working directory:

$ cd ~/..
$ pwd
/home

 

Baguhin ang direktoryo sa root directory at i-print ang gumaganang direktoryo:

$ cd /
$ pwd
/

 


Advertising

LINUX
°• CmtoInchesConvert.com •°