$ pwd
/home/alex
$ mkdir literature/promo
Ikkinchi usuli absolyut manzil yo'lidan foydalanish: $ mkdir /home/alex/literature/promo
Mkdir da -p xususiyatdan foydalanish orqali bitta buyruq bilan literature hamda promo katalogni yaratish mumkin:
$ pwd
/home/alex
$ ls
Demo names temp
$ mkdir -p literature/promo
Yoki
$ mkdir -p /home/alex/literature/promo Cd: boshqa ishchi katalogga o'zgartirish
Cd utilit ishchi katalogni o'zgatira oladi, lekin ichidagi kontentni o'zgartira olmaydi 9- rasmda /home/alex/literature katalogni ischi katalogga aylantirishni ikki xil yo'li ko'rsatilib o'tilgan. Birinchisida Alex cd hamda absolyut manzil nomi orqali literature ni ishchi katalogga o'zgartirdi - bunday paytda qaysi sizni ishchi katalog ekanligi ahamiyatsiz qachonki absolyut manzil nomidan foydalansangiz.
Do'stlaringiz bilan baham: |