Linux Chapter 3: Exploring Linux Filesystems

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Select the command below that can be used to provide a long listing for each file in a directory:

-l

Filenames that start with a period, such as .file, are referred to as

Hidden Files

Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?

Ctrl +g

In the GNU Emacs editor, what key combination can be used to delete all characters between the cursor and the end of the line?​ a. ​Ctrl+k b. ​dd c. ​Ctrl+a d. ​Ctrl+d

Ctrl+k

An alternative to the vi editor that offers an equal set of functionality is the GNU _________________________.

Emacs (Editor MACroS) editor

The LISP artificial intelligence programming language can be used with which text editor below? a. Kedit editor b. Nedit editor c. Joe editor d. Emacs editor

Emacs editor

What command is most effective at identifying different types of files?​

File

Text wildcards used to ease the searching of specific text information are called _________________________.

Regular expressions (regexp)

If enough unique letters of a directory name have been typed, what key can be pressed to activate the BASH shell's completion feature? a. Tab b. Ctrl c. Alt d. Esc

Tab

Due to the fact that the * character can be used to match all ​characters in a filename, or all files in a directory, it is referred to as a ____________ metacharacter.

Wildcard

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

[1-4]

To display the contents of a text file called data, what command should be used?

cat data

In order to move from the /home/joe/test/data to the /home/joe directory, what command below should be issued? a. cd .. b. /home/joe c. cd ./.. d. cd ../..

cd ../..

In what mode does the vi editor open by default?​ a. ​command mode b. ​overview mode c. ​insert mode d. append mode

command mode

In vi, using command mode, what ​series of key presses below will cause the line on which the cursor is on to be deleted? a. ​yw b. ​dd c. ​d d. ​X

dd

What command can be issued to confirm what directory you are in at a command line prompt?

pwd

To display a text file in reverse order, what command should be used?​ a. tee b. ​tac c. ​cat d. ​sed

tac

What command can be used to display the last five lines of a text file?

tail -5

Select the regular expression metacharacter that matches 0 or more occurrences of the previous character. a. + b. ^ c. ? d. *

*

Which switch below can be added to the ls command to show a list of files and their type?

-F

​At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes? a. ​:q! b. ​:! c. :exit d. :q

:q!

When issuing the ls -F command, what special character indicates a linked file?

@

Which character(s) below represent extended regular expression metacharacter(s)?

{}

What metacharacter can be used to refer to the current user's home directory?

~


संबंधित स्टडी सेट्स

newborn assessment part 1. Part 2 is newborn care

View Set

AP Gov Court Case Flashcards Chris Lovre

View Set

Computer Forensics - Chapter 3 Review Questions

View Set

Module 20: Basic Learning Concepts and Classical Conditioning

View Set