Linux+ Chapter 03

Ace your homework & exams now with Quizwiz!

T/F - Filenames can include up to 200 characters.

False

The _____ regular expression metacharacter matches 0 or more occurrences of the previous character.

*

To view a list of files and their type, use the _____ switch to the ls command.

-F

T/F - The three characters following a period in a file name are referred to as the filename extension.

True

Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?

[1-4]

_____ are files that have an association with one another.

Linked files

_____ is a file that contains the most recent entries at the bottom of the file.

Log file

A _____ identifies a channel that passes information from one process in memory to another, and in some cases can be mediated by files on the hard drive.

Named pipe

Which is an extended regular expression metacharacter?

{}

The _____ metacharacter can also be used to refer to the current user's home directory.

~

The _____ symbol indicates a linked file.

@

T/F - The most common way to search for information using regular expressions is the grep command.

True

What key combination is commonly used in the vi editor command mode, displays current line statistics?

Ctrl+g

The _____ is a special file that serves as placeholders to organize other files.

Directory

The _____ can be used with LISP artificial intelligence programming language and supports hundreds of keyboard functions like the vi editor.

Emacs editor

T/F - In Linux, the root directory is represented by a \ character.

False

T/F - Is the graphical Emacs editor harder to use than the Emacs editor?

False

T/F - Is vim the Linux equivalent of vi?

False

T/F - It is acceptable to use shell metacharacters when naming files.

False

T/F - Pressing the Esc key at the prompt while using the more command displays a help screen.

False

T/F - The command strings /bin/echo displays the binary characters inside the /bin/echo binary executable program.

False

T/F - To display the line number of each line in a file, in addition to its contents, would you use the cat -n command?

False

T/F - To perform a case-insensitive grep search, would you use the -a option to the grep command?

False

T/F - When using the less command, can you use the cursor keys on the keyboard to scroll up and down the contents of the file?

False

T/F - When you first open the vi editor, you are placed in edit mode.

False

_____ is a file that allows a process on another computer to write to a file on the local computer while another process reads from that file.

Socket file

_____ is a file that represents a device on the system, such as a hard disk or serial port.

Special device file

If you type enough unique letters of a directory and press _____ key, the BASH shell will find the intended file or directory being specified and fill in the appropriate information.

Tab

T/F - Linux uses a logical directory tree to organize files into different folders.

True

T/F - The more command should not be used on binary files.

True

To display the contents of a file called data, use the command _____.

cat data

To move from the /home/joe/test/data to the /home/joe directory, use the _____ command.

cd ../..

The _____ displays lines of text that match extended regular expressions.

egrep command

The _____ editor is functionally analogous to the Windows Wordpad and Notepad editors.

gedit

The _____ displays the first ten lines of a text file.

head command

The _____ command can be used to provide a long listing for each file in a certain directory.

ls -l

The _____ command will confirm the system directory that you are currently in.

pwd

The _____ displays a file in reverse order.

tac command

The _____ command displays the last five lines of a text file.

tail -5

Most files on a Linux system that contain configuration information are _____ files.

text


Related study sets

Strategic Management Chapters 5-8

View Set

Taylor Ch. 39- Fluid, Electrolyte, and Acid-Base Balance

View Set

End of Chapter Questions in Textbook

View Set

Cardiovascular System (Pharmacology SUCCESS NCLEX STYLE )

View Set

316., RNR 230, Insect Biology Exam 1, Insect Biology exam 2, Final Exam Insect biology, Conservation Biology Exam 1

View Set

To Kill A Mockingbird Chapters 17-20 Guided Reading Questions

View Set

Ch 8 - Service Entrance Install/Equip

View Set

Anatomy Midterm: Mastering A&P Blood Typing

View Set