Qiziqarli | Quiz Game 💻 | TERMINAL KOMMANDALARI javoblari😉
Published: 2022-03-15 17:14:27

### Men hozir sizlarga bundan oldingi postimizdagi QuizGame savollariga javoblarini taqdim qilmoqchiman! Manfaatli bo'lishidan umidvormiz! Demak boshladik

***1.*** - *javob* `mkdir $(date '+%d-%m-%Y')`  kommandasi orqali hozirgi sana nomi bilan papka ochiladi

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9w7isv30dgkyrf9qkmfa.jpg)

***2.*** - *javob* `using namespace std::`  kommandasi qayta-qayta `std::` standart output buyrug'ini ishlatmaslik uchun yoziladi!

***3.*** - *javob* `g++ main.cpp`  kommandasi orqali joriy papkadagi main.cpp nomli kodni kompilyatsiya qilinadi!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zawkb6vhbspx266qh8t2.jpg)

***4.*** - *javob* `./a.out`  kommandasi orqali joriy papkadagi main.cpp nomli code ni kompilyatsiya qilgach **a.out** nomli by default faylni ishga tushiradi
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mzigyyx7c9jasp6vcgix.jpg)

***5.*** - *javob* `cd ..`  kommandasi orqali bundan oldingi papkaga qaytadi

***6.*** - *javob* `cd ~`  kommandasi oraqli **$HOME** ga qaytadi

***7.*** - *javob* `rm -rf ~/Downloads/keraksiz.txt`  kommandasi oraqli $HOME papkasidan chiqmagan holda **Downloads** papkasi ichidagi *keraksiz.txt* faylni o'chirsa bo'ladi
![avvalo **Downloads** papkasi ichida keraksiz.txt degan papka yaratib oldim endi esa](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ayqldweal0eu45l1d4fg.jpg)avvalo **Downloads** papkasi ichida keraksiz.txt degan papka yaratib oldim endi esa 
![**$HOME** papkasida turib Downloads papkasi ichidagi *keraksiz.txt* faylini udalit qildik!](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g87n3nl3t82zfnbtt02c.jpg) **$HOME** papkasida turib Downloads papkasi ichidagi *keraksiz.txt* faylini udalit qildik!

***8.*** - *javob* `cat keraksiz.txt`  kommandasi oraqli siz turgan papka ichidagi keraksiz.txt nomli faylning ichidagi kontentni terminalga chop etadi!

***9.*** - *javob* `pwd`  ushbu kommanda siz turgan papka manzilini chop etadi!

***10.*** - *javob* `ls`  ushbu kommanda siz turgan papka ichidagi barcha papka, fayllarni chop etadi!

***11.*** - *javob* `ls -a`  ushbu kommanda oraqli siz hozir ~/Documetns papkasi ichidasiz.Shu papka ichidagi barcha fayl va papkalarni (yashirinlarini ham) chop etadi!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lqljmlvkemgkqhq6f0ek.jpg)

***12.*** - *javob* `ls ~/Downloads`  ushbu komanda oraqli siz Shu papkadan chiqmasdan `~/Downloads` ichidagi barcha narsalarni **ro'yxatini chop etasiz!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0vy6ptznlae5b0sdofsz.jpg)

***13.*** - *javob* `g++ main.cpp -o tayyor`  ushbu kommanda  joriy papkadagi main.cpp faylni kompilyatsiya qilib uni tayyor nomli faylga dastur sifatida saqlaydi
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z7tvmd6ps33o85bdew6t.jpg).

***14.*** - *javob* `echo $(date '+%d-%m-%Y')`  ushbu kommanda Terminalda bugungi sana nomi bilan *(dd-mm-yyyy)* formatida text chop etadi 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uy4wwzg47hff9uy69o4a.jpg)

***15.*** - *javob*  `code.`  ushbu kommanda joriy papkani **VsCode** dasturida **workspace *(ishchi maydon)* sifatida** ochadi!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ld9nag9h50kdwvro0bwi.jpg) bu kommandani berishingiz bilanoq quyidagi VsCode ochiladi
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ukrjb0c48vvvqftw80lp.png)

Ushbu post sizlarga ilm olishingiz yoki bilganlaringizni takrorlash uchun foyda keltirgan bo'lsa men bundan hursand bo'laman! Alhamdulillah !

######Quiz Game savollarini ushbu  [link](https://dev.to/sardorbek095/terminal-kommandalari-quiz-game-42cf/edit)  orqali olishingiz mumkin