Deck 1: Linux Command Line Basics
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/19
العب
ملء الشاشة (f)
Deck 1: Linux Command Line Basics
1
Maximum how long can a Linux filename be?
A)128 bytes
B)255 bytes
C)32 bytes
D)64 bytes
A)128 bytes
B)255 bytes
C)32 bytes
D)64 bytes
255 bytes
2
Which command(s) is/are used to get help about a command in Linux?
A)info
B)man
C)None of these
D)Both a and b
A)info
B)man
C)None of these
D)Both a and b
info
3
Which command is used to get the kernel version in Linux?
A)uname -r
B)kernel
C)uname -n
D)uname -s
A)uname -r
B)kernel
C)uname -n
D)uname -s
uname -r
4
In Linux everything stored as a
A)file
B)directory
C)executables
D)None of the above
A)file
B)directory
C)executables
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following command can be used as an alternative to echo command?
A)print
B)printr
C)printf
D)none of these
A)print
B)printr
C)printf
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which command is used see the list of users who are currently logged-in?
A)login
B)users
C)who
D)which
A)login
B)users
C)who
D)which
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which directory in Linux contains all the config file of the system?
A)/etc
B)/var
C)/lib
D)/bin
A)/etc
B)/var
C)/lib
D)/bin
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following command is used to count number of lines in a file?
A)wc -l
B)wc -c
C)wc -w
D)None of these
A)wc -l
B)wc -c
C)wc -w
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which command is used to copy entire directory?
A)cp -r
B)cp -i
C)cp
D)none of these
A)cp -r
B)cp -i
C)cp
D)none of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which special character should be avoided during naming a file?
A).(dot)
B)$
C)_(underscore)
D)-(Hyphen)
A).(dot)
B)$
C)_(underscore)
D)-(Hyphen)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
11
Suppose I am in /etc directoy, after executing cd .(single dot), where am I now?
A)/etc
B)/(root)
C)/home
D)None of these
A)/etc
B)/(root)
C)/home
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
12
mv command can be used to ?
A)Move the file to different directory.
B)Renaming a file
C)Both a and b.
D)Only a.
A)Move the file to different directory.
B)Renaming a file
C)Both a and b.
D)Only a.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which command is used to print the login shell of an user?
A)echo $SHELL
B)echo $LOGIN
C)echo $LSHELL
D)None of the Above
A)echo $SHELL
B)echo $LOGIN
C)echo $LSHELL
D)None of the Above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which command is used to set terminal IO characteristic?
A)tty
B)ctty
C)ptty
D)sty
A)tty
B)ctty
C)ptty
D)sty
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which option of ls command used to view file inode number
A)-l
B)-o
C)-a
D)-i
A)-l
B)-o
C)-a
D)-i
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
16
What is the right command to save file and exit in Vim?
A):wq
B):a
C):q
D):q!
A):wq
B):a
C):q
D):q!
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which of the following is not an editor?
A)expr
B)vi
C)emacs
D)ex
A)expr
B)vi
C)emacs
D)ex
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
18
In a date +format, you add the hour in 24 hours format using:
A)%f
B)%H
C)%F
D)%h
A)%f
B)%H
C)%F
D)%h
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck
19
What command is used with vi editor to delete a single character?
A)x
B)y
C)a
D)None of the above
A)x
B)y
C)a
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 19 في هذه المجموعة.
فتح الحزمة
k this deck