TERMINAL KOMANDALARI PART-3

akbar9222

Akbar9222

Posted on March 14, 2022

TERMINAL KOMANDALARI PART-3

-date

echo $(date '+%d-%m-%Y')

- ushbu komanda hozirgi sanani (dd-mm-yyyy ko'rinishida) terminalga chop etadi


mkdir $(date '+%d-%m-%Y')

  • bu komanda orqali bugungi sana nomli papka yaratiladi.

-code

-code main.cpp - bu komanda joriy papka ichida main.cpp degan fayl (yo'q bo'lsa) yaratib uni vscode ichida ochadi

-code . - joriy papkani vscode dasturida workspace (ishchi maydon) sifatida ochadi

-g++

-bu komanda C++ kodlarni kompilatsiya qilish uchun ishlatiladi.

-g++ main.cpp - bu komanda joriy papkadagi main.cpp nomli C++ kod faylni kompilatsiya qiladi va by default a.out nomli dasturiy fayl yaratadi

-g++ main.cpp -o dastur komandasi main.cpp faylni kompilatsiya qilib natijani dastur nomli faylga saqlaydi.

💖 💪 🙅 🚩
akbar9222
Akbar9222

Posted on March 14, 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