Deck 4: Exploring Linux Filesystems
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Match between columns
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/32
Play
Full screen (f)
Deck 4: Exploring Linux Filesystems
1
Which is an extended regular expression metacharacter?
A).
B)[...]
C)^
D){}
A).
B)[...]
C)^
D){}
D
2
To move from the /home/joe/test/data to the /home/joe directory, use the ____ command.
A)cd ..
B)cd ../..
C)/home/joe
D)cd ./..
A)cd ..
B)cd ../..
C)/home/joe
D)cd ./..
B
3
The ls ____ command can be used to provide a long listing for each file in a certain directory.
A)-T
B)-L
C)-F
D)-l
A)-T
B)-L
C)-F
D)-l
D
4
Linux uses a logical directory tree to organize files into different folders.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
5
To display the contents of a file called data, use the command ____.
A)disp data
B)ls data
C)ls -l data
D)cat data
A)disp data
B)ls data
C)ls -l data
D)cat data
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
6
Using wildcard metacharacters, how can one indicate a number is 1 or 2 or 3 or 4?
A)1-4
B)[1-4]
C)[1234]
D)[1,2,3,4]
A)1-4
B)[1-4]
C)[1234]
D)[1,2,3,4]
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
7
Pressing the Esc key at the prompt while using the more command displays a help screen.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
8
The ____ metacharacter can also be used to refer to the current user's home directory.
A)~
B)@
C)&
D)#
A)~
B)@
C)&
D)#
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
9
The more command should not be used on binary files.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
10
The ____ editor is distributed with the GNOME environment.
A)xemacs
B)kedit
C)emacs
D)gedit
A)xemacs
B)kedit
C)emacs
D)gedit
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
11
You may access much of the functionality of ____ by using the function keys on the keyboard as described at the bottom of the screen.
A)gedit
B)mcedit
C)emacs
D)nedit
A)gedit
B)mcedit
C)emacs
D)nedit
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
12
The ____ can be used with LISP artificial intelligence programming language and supports hundreds of keyboard functions like the vi editor.
A)kedit editor
B)mcedit editor
C)emacs editor
D)nedit editor
A)kedit editor
B)mcedit editor
C)emacs editor
D)nedit editor
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
13
A linked file is followed by a(n)____.
A)@
B)*
C)/
D)=
A)@
B)*
C)/
D)=
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
14
The command strings /bin/echo displays the binary characters inside the /bin/echo binary executable program.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
15
The ____ command will confirm the directory that you are currently in on the system.
A)dir
B)pwd
C)whereami
D)ld
A)dir
B)pwd
C)whereami
D)ld
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
16
To view a list of files and their type, use the ____ switch to the ls command.
A)-T
B)-L
C)-F
D)-l
A)-T
B)-L
C)-F
D)-l
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
17
The ____ command displays the last 10 lines of a text file.
A)end -10
B)head -10
C)stop -10
D)tail -10
A)end -10
B)head -10
C)stop -10
D)tail -10
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
18
Most files on a Linux system that contain configuration information are ____ files.
A)system
B)directory
C)text
D)program
A)system
B)directory
C)text
D)program
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
19
Your current directory is /home, and the contents of the directory are fred, john, and steve. If you type the command cd /home/s and then press the ____ key, the command cd /home/steve will be displayed on the terminal screen.
A)Alt
B)Tab
C)Ctrl
D)Esc
A)Alt
B)Tab
C)Ctrl
D)Esc
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
20
It is acceptable to use shell metacharacters when naming files.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
21
When a user logs into their Linux system, he is placed in the _________________________ directory.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
22
Match between columns
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
23
In a file listing, the 9 characters following the file type (for example, -rwxr-xr-x )refer to the file's _________________________.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
24
Why is the vi editor called a bi-modal editor? Explain.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
25
An alternative to the vi editor that offers an equal set of functionality is the GNU _________________________.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
26
What is the disadvantage of using the cat command to display a very large text file? How can you get around this problem?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
27
Special metacharacters used to match patterns of text within text files are called _________________________.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
28
The ____ regular expression metacharacter matches 0 or more occurrences of the previous character.
A)*
B)?
C)+
D)^
A)*
B)?
C)+
D)^
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
29
What does the cd command do? What happens if you use this command without an argument?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
30
List three differences between wildcard metacharacters and regular expressions.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
31
The file .file.dat is an example of a(n)_________________________ file.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
32
What is the difference between an absolute and a relative pathname? What is a benefit of each?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck