DEV Community

Abdumutal
Abdumutal

Posted on

Terminal komandalar | 3

Bugun sizlar bilan ...

  • echo $(date '+%d-%m-%Y') bu hozirgi vaqtdagi sanani ekranga chop etadi
  • mkdir $(date '+%d-%m-%Y') bu esa bugungi sana nomli papka yaratadi Code Code main.cpp bu siz turgan papka ichidan main.cpp nomli fayl ochib uni vscode ga ulab qo'yadi code . - joriy papkani vscode dasturida workspace (ishchi maydon) sifatida ochadi

g++ bu vscode yozilgan ko'dni terminal orqali ko'rishga yordam beradi. Terminalda vscode ga o'tishni 2 yo'li bor:
1-code main.cpp
2-code .
vscodeda terminalni ochish uchun ctrl + ~ klavishlari bosiladi
U yerdan g++ main.cpp deb yoziladi
So'ng ./a.out shundan so'ng yozgan code ishlaydi

Top comments (0)