Terminal | 3-qism

bekzod_vapoyev

Bekzod Vapoyev

Posted on March 14, 2022

Terminal | 3-qism
Date
Enter fullscreen mode Exit fullscreen mode
  • echo $(date '+%d-%m-%Y')- komanda hozirgi sanani (dd-mm-yyyy ko'rinishida) terminalga chop etadi.
  • mkdir $(date '+%d-%m-%Y')- bu komanda orqali bugun sana nomli papka qilinadi
 Code

Enter fullscreen mode Exit fullscreen mode
  • 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++

Enter fullscreen mode Exit fullscreen mode
  • bu komanda C+ kodlarni kompilatsiya qilish+ uchun.
  • g++ main.cpp- bu komanda joriy papkadagi main.cpp nomli C++ kod faylni kompilatsiya qiladi va sukut bo'yicha a.out nomli dastur fayl fayli
  • g++ main.cpp -o dastur komandasi main.cpp faylni kompilatsiya natijasidan dastur nomli faylga saqlaydi.
💖 💪 🙅 🚩
bekzod_vapoyev
Bekzod Vapoyev

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