cd command sa Linux/Unix

Ang cd ay isang Linux command upang baguhin ang direktoryo/folder ng shell ng terminal.

Maaari mong pindutin ang pindutan ng tab upang awtomatikong makumpleto ang pangalan ng direktoryo.

cd syntax

$ cd [directory]

mga halimbawa ng cd command

Baguhin sa home directory (tinutukoy ng $HOME environment variable):

$ cd

 

Magpalit din ng home directory:

$ cd ~

 

Baguhin sa root directory:

$ cd /

 

Baguhin sa direktoryo ng magulang:

$ cd ..

 

Baguhin sa mga subdirectory na Dokumento :

$ cd Documents

 

Baguhin sa subdirectory na Mga Dokumento/Mga Aklat :

$ cd Documents/Books

 

Baguhin sa direktoryo na may ganap na landas /home/user/Desktop :

$ cd /home/user/Desktop

 

Baguhin sa pangalan ng direktoryo na may puting espasyo - Aking Mga Larawan :

$ cd My\ Images

O kaya

$ cd "My Images"

O kaya

$ cd 'My Images'

 


Tingnan din

Advertising

LINUX
°• CmtoInchesConvert.com •°