Deck 2: Unix Commands and Permissions
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/22
العب
ملء الشاشة (f)
Deck 2: Unix Commands and Permissions
1
Which of the following is not a communication command?
A)grep
B)mail
C)mesg
D)write
A)grep
B)mail
C)mesg
D)write
grep
2
What command is used with vi editor to move back to the beginning of a word?
A)w
B)e
C)a
D)b
A)w
B)e
C)a
D)b
b
3
What command is used with vi editor to search a pattern in the forward direction?
A)(??)
B)(//)
C)(?)
D)(/)
A)(??)
B)(//)
C)(?)
D)(/)
(/)
4
Which of the following is not a filter command?
A)sort
B)wc
C)grep
D)cat
A)sort
B)wc
C)grep
D)cat
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
5
While executing a command, the shell
A)Executes it in the same process (as shell)
B)Creates a child shell to execute it
C)Loads a special program to take care of the execution
D)None of the mentioned
A)Executes it in the same process (as shell)
B)Creates a child shell to execute it
C)Loads a special program to take care of the execution
D)None of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which variable contains current shell process id
A)$*
B)$?
C) $$
D)$!
A)$*
B)$?
C) $$
D)$!
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
7
Hidden files are
A)Those whose 'read' bit is set to 'h'
B)Permitted for (can be accessed) only superusers
C)Files that begin with a '.'
D)Files that cannot be opened by ordinary user for writing
A)Those whose 'read' bit is set to 'h'
B)Permitted for (can be accessed) only superusers
C)Files that begin with a '.'
D)Files that cannot be opened by ordinary user for writing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
8
Shell is ?
A)Command Interpreter
B)Interface between Kernel and Hardware
C)Interface between user and applications
D)Command Compiler
A)Command Interpreter
B)Interface between Kernel and Hardware
C)Interface between user and applications
D)Command Compiler
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which command searches the string in file opened in vi editor?
A)/ or ?
B)f or F
C)t or T
D)none of the mentioned
A)/ or ?
B)f or F
C)t or T
D)none of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which command sets the number for all lines?
A):set li
B):set ln
C):set nu
D):set nl
A):set li
B):set ln
C):set nu
D):set nl
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following is true?
A)Shell is a process and can be started by superuser only
B)Shell is a built-in Kernel functionality
C)Shell is a wrapper for all the commands and utilities
D)None of the mentioned
A)Shell is a process and can be started by superuser only
B)Shell is a built-in Kernel functionality
C)Shell is a wrapper for all the commands and utilities
D)None of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
12
The permission -rwxr-r- represented in octal expression will be
A)777
B)666
C)744
D)711
A)777
B)666
C)744
D)711
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
13
Effective group id can be set using following permission
A)0777
B)2666
C)4744
D)1711
A)0777
B)2666
C)4744
D)1711
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
14
The permission -rwSr-r- represented in octal expression will be
A)0777
B)2666
C)4744
D)4644
A)0777
B)2666
C)4744
D)4644
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following umask settings doesn't allow execute permission to be set by default on directory files
A)222
B)111
C)000
D)444
A)222
B)111
C)000
D)444
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
16
Write the command to display the current date in the form dd/mm/yyyy.
A)date +%d/%m/%Y
B)date +"%d/%m/%Y"
C)date +/%d/%m/20%y
D)date +"/%d/%m/20%y"
A)date +%d/%m/%Y
B)date +"%d/%m/%Y"
C)date +/%d/%m/20%y
D)date +"/%d/%m/20%y"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
17
How to execute ls command inside a vi editor?
A)!ls
B):ls
C):!ls
D)we can't execute
A)!ls
B):ls
C):!ls
D)we can't execute
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
18
What communication command provides communication to another user logged on by writing to the bottom of their terminal?
A)talk
B)write
C)chat
D)tr
A)talk
B)write
C)chat
D)tr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which of the following command output contains userid?
A)ls
B)help
C)date
D)ls -l
A)ls
B)help
C)date
D)ls -l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
20
pwd command displays
A)user password
B)password file content
C)present working directory
D)none of the mentioned
A)user password
B)password file content
C)present working directory
D)none of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
21
What is the default number of files open per user process?
A)0
B)1
C)2
D)3
A)0
B)1
C)2
D)3
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
22
Solaris is the name of a flavor of UNIX from
A)HP
B)IBM
C)Digital Equipment Corp
D)Sun Microsystems
A)HP
B)IBM
C)Digital Equipment Corp
D)Sun Microsystems
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck