This content originally appeared on DEV Community and was authored by DEV Community
QUIZ GAME
TERMINALga oid savollarga javoblar Lets goo
1.
TERMINAL da bugungi sana nomi bilan (dd-mm-yyyy) formatida papka yaratish komandasini kiriting!
mkdir $(date '+%d-%m-%Y')
2.
Siz turgan papkadagi barcha (yashirinlarini ham) fayllarni chop etuvchi komandani kiriting!
ls -a
3.
Siz turgan papka nomi ni ko'rsatuvchi komandani kiriting!
pwd
4.
Siz turgan papkadagi hamma narsani ekranga chop etuvchi komandani kiriting!
ls
5.
1 ta papka ort ga qaytish komandasini kiriting!
cd ..
6.
Bugungi sanani (dd-mm-YY) ko'rinishda ekranga chop qiluvchi komandani kiriting!
echo $(date '+%d-%m-%Y')
7.
Siz $HOME
papkasida turibsiz, shu papkadan chiqmasdan Downloads papkasidagi keraksiz.txt faylni o'chirish komandasini kiriting!
rm -rf ~/Downloads/keraksiz.txt
8.
Joriy papkadagi main.cpp nomli kodni kompilatsiya qilish komandasini kiriting!
g++ main.cpp -o dastur
9.
Joriy papkadagi main.cpp nomli code ni kompilatsiya qilgach a.out
nomli by default faylni ishga tushirish komandasini kiriting!
g++ main.cpp
10.
$HOME
papkasiga qanday qaytish komadasini kiriting!
cd ~
12.
Joriy papkadagi main.cpp faylni kompilatsiya qilib natijani dastur nomli faylga saqlaydigan komandani kiriting!
g++ main.cpp -o dastur
13.
Joriy papkani VSCode daturida workspace (ishchi maydon) sifatida ochadigan komandani kiriting!
code .
14.
a.out
ga saqlangan kodni ishga tushiruvchi komandani kiriting!
./a.out
15.
Joriy papkani o'zgartirib sizni boshqa manzilga olib boradigan komandani kiriting!
cd
Xammaga raxmat xozircha shular :)
This content originally appeared on DEV Community and was authored by DEV Community
DEV Community | Sciencx (2022-03-15T16:31:26+00:00) TERMINAL komandalari mavzusiga oid | QUIZ GAME |. Retrieved from https://www.scien.cx/2022/03/15/terminal-komandalari-mavzusiga-oid-quiz-game/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.