Sardorpm
Posted on March 15, 2022
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 :)
Posted on March 15, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.