Deck 4: Common Linux Commands and File Operations

Full screen (f)
exit full mode
Question
Which of the following commands is used to identify the type of file by context?

A)ls
B)cat
C)file
D)more
Use Space or
up arrow
down arrow
to flip the card.
Question
The filed separator in cut command is specified with

A)-a option
B)-d option
C)-r option
D)-x option
Question
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
Question
Which option will be used with touch command to change the access time?

A)-a
B)-b
C)-t
D)-h
Question
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
Question
Which command is used to display and create files?

A)cat
B)vi
C)ed
D)lyrix
Question
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
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/7
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
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
file
2
The filed separator in cut command is specified with

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
-s
4
Which option will be used with touch command to change the access time?

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
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
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
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 7 flashcards in this deck.