Terminal kommandalari | PART 3

sardorbek095

sardorbek095

Posted on March 11, 2022

Terminal kommandalari | PART 3

date

  • echo $(date '+%d-%m-%Y') - ushbu komanda hozirgi sanani (dd-mm-yy) formatda shu papkani terminalda chiqradi
  • mkdir $(date '+%d-%m-%Y') - ushbu komanda orqali bugungi sana nomi bilan 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 kompilyatsiya qilish uchun ishlatiladi.
  • g++ main.cpp- bu komanda orqali joriy papkadagi main.cpp nomli C++ kod faylni kompilatsiya qiladi va by default a.out nomli dasturiy fayl yaratadi.

g++ main.cpp dastur` komandasi main.cpp faylni kompilyatsiya qilib natijani dastur nomli faylga saqlaydi.

💖 💪 🙅 🚩
sardorbek095
sardorbek095

Posted on March 11, 2022

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

Sign up to receive the latest update from our blog.

Related

TERMINAL KOMANDALARI QUIZ GAME TEST.
terminal TERMINAL KOMANDALARI QUIZ GAME TEST.

March 15, 2022

Terminal komandalar | Part 5
terminal Terminal komandalar | Part 5

March 16, 2022

Terminal kommandalari | PART 4
terminal Terminal kommandalari | PART 4

March 14, 2022

Terminal kommandalari | PART 3
terminal Terminal kommandalari | PART 3

March 11, 2022