Deck 4: Common Linux Commands and File Operations
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/7
Play
Full screen (f)
Deck 4: Common Linux Commands and File Operations
1
Which of the following commands is used to identify the type of file by context?
A)ls
B)cat
C)file
D)more
A)ls
B)cat
C)file
D)more
file
2
The filed separator in cut command is specified with
A)-a option
B)-d option
C)-r option
D)-x option
A)-a option
B)-d option
C)-r option
D)-x option
-d option
3
Which of the following options will be used to display number of blocks used by a file?
A)-c
B)-i
C)-d
D)-s
A)-c
B)-i
C)-d
D)-s
-s
4
Which option will be used with touch command to change the access time?
A)-a
B)-b
C)-t
D)-h
A)-a
B)-b
C)-t
D)-h
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
5
Which command is used to make all files and sub-directories in the directory (progs) executable by all users?
A)chmod -r a+xprogs
B)chmod -r 222 progs
C)chmod -1 a+xprogs
D)chmod -x a+xprogs
A)chmod -r a+xprogs
B)chmod -r 222 progs
C)chmod -1 a+xprogs
D)chmod -x a+xprogs
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
6
Which command is used to display and create files?
A)cat
B)vi
C)ed
D)lyrix
A)cat
B)vi
C)ed
D)lyrix
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
7
The second set of the three permissions (r-) indicates that
A)group has read permission only
B)other has read permission only
C)owner has read permission only
D)group has write permission only
A)group has read permission only
B)other has read permission only
C)owner has read permission only
D)group has write permission only
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck