TERMINAL KOMANDALARI PART-1

akbar9222

Akbar9222

Posted on March 7, 2022

TERMINAL KOMANDALARI PART-1

ls

  • hozirgi papkadagi barcha narsalarni chop etiladi
  • a tanlovi orqali yashirin fayl va papkalar ham chop etiladi

pwd (print working directory)

  • joriy papka manzilini chop etadi
  • ~ manzil $HOME manzilga teng

cd (current directory)

  • joriy papkani o'zgartiradi, ya'ni sizni boshqa manzilga olib boradi

a. ~ # cd Documents##
b. **Documents # cd ~

a.komanda orqali Documents papkasiga o'tiladi.
b.komanda orqali $HOMEga qaytiladi

echo

  • berilgan qo'shtirnoq"" yoki bir tirnoq "" ichidagi tekstni terminalga chop etadi
echo 'Lyuboy tekstni chop etadi'
echo "qo'shtirnoq ham ishlaydi"
echo qo`shtirnoqSIZ HAM ishlaydi
Enter fullscreen mode Exit fullscreen mode

mkdir

  • berilgan manzilda papka yaratadi
mkdir TEST
Enter fullscreen mode Exit fullscreen mode

Joriy papka ichida Test degan papaka yaratadi Agar papka mavjud bo'lsa, error beradi.

rm

  • berilgan papka yoki faylni o'chiradi. Bu komanda orqali o'chirilgan fayl va papkalar KORZINKAGA tushmaydi.
  • -r tanlovi orqaligina papkalarni o'chirsa bo'ladi
  • -f (FORCE) tanlovi orqali o'chayotgan fayl yoki papka majburlab o'chiriladi
💖 💪 🙅 🚩
akbar9222
Akbar9222

Posted on March 7, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

What was your win this week?
weeklyretro What was your win this week?

November 29, 2024

Where GitOps Meets ClickOps
devops Where GitOps Meets ClickOps

November 29, 2024

How to Use KitOps with MLflow
beginners How to Use KitOps with MLflow

November 29, 2024