Lesson 3: Exploring Linux Filesystems

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

cd ../..

A user typed in the command pwd and saw the output: /home/jim/sales/pending. How could that user navigate to the /home/jim directory?

It is an executable file.

After typing the ls -F command, you notice a filename that ends with an * (asterisk) character. What does this mean?

Press the Esc key.

How can a user switch from insert mode to command mode when using the vi editor?

Precede the string with a ^.

How can you specify a text pattern that must be at the beginning of a line of text using a regular expression?

cd /etc

If a user's current directory is /home/mary/project1, which command could she use to move to the etc directory directly under the root?

True

Linux has only one root directory per directory tree. True or False?

False

The less command offers less functionality than the more command. True or False?

represent hardware devices such as hard disk drives and ports

A special device file is used to ___________.

displays the contents of a file in reverse order last line first and first line last.

The tac command _________.

[!a-d]

Using wildcard metacharacters, how can you indicate a character that is not an a or b or c or d?

filea, fileb, filec

What will the following wildcard regular expression return: file[a-c]?

strings

Which command searches for and displays any text contents of a binary file?


Ensembles d'études connexes

Chapter 24: Nursing Management of the Newborn at Risk: Acquired and Congenital Newborn Conditions

View Set

Nursing 126 Ch. 24 - Anger, Aggression, & Violence

View Set

We The People Chapter 2 Questions

View Set

Chapter 7 - Organizing and Outlining Your Speech

View Set