ITS 121 Chapter 3 Study Guide

Ace your homework & exams now with Quizwiz!

When using the ls -F command, what special character indicates a linked file? A. @ B. * C. & D. -

A. @

What command is most effective at identifying different types of files? A. stat B. ls -l C. ll D. file

A. stat

What metacharacter can be used to refer to the current user's home directory? A. ~ B. @ C. & D. #

A. ~

What command can be used to display the last five lines of a text file? A. end -5 B. head -5 C. stop -5 D. tail -5

D. tail -5

At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes? A. :q B. :q! C. :exit D. :!

B. :q!

Using wildcard metacharacters, how can one indicate a number is either, 1,2,3, or 4? A. 1-4 B. [1-4] C. [1234] D. [1,2,3,4]

B. [1-4]

What command can be issued to confirm what directory you are in at a command line prompt? A. dir B. pwd C. whereami D. ld

B. pwd

To display text in reverse order, what command should be used? A. cat B. tac C. tee D. set

B. tac

Which switch below can be added to the ls command to show a list of files and their type? A. -T B. -L C. -F D. -l

C. -F

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. dd B. Ctrl+d C. Ctrl+k D. Ctrl+a

C. Ctrl+k

The LISP artificial intelligence programming language can be used with which text editor below? A. Kedit editor B. Joe editor C. Emacs D. Nedit

C. Emacs

It is acceptable to use shell metacharacters when naming files. True or False?

False

The more command should not be used on binary files. True or False?

True

Select the regular expression metacharacter that matches 0 or more occurences of the previous character. A. * B. ? C. + D. ^

A. *

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. Alt B. Tab C. Ctrl D. Esc

B. Tab

In order to move from the /home/joe/test/data to the /home/joe directory, what command below should be issued? A. cd .. B. cd ../.. C. /home/joe D. cd ./..

B. cd ../..

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. X B. dd C. yw D. D

B. dd

Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics? A. $ B. x C. Ctrl+g D. P

C. Ctrl+g

To display the contents of a text file called data, what command should be used? A. disp data B. ls data C. ls -l data D. cat data

D. cat data

In what mode does the vi editor open by default? A. append mode B. insert mode C. overview mode D. command mode

D. command mode

Select the command below that can be used to provide a long listing for each file in a directory: A. ls -T B. ls -L C. ls -F D. ls -l

D. ls -l

Which character(s) below represent extended regular expression metacharacter(s)? A. . B. [...] C. ^ D. {}

D. {}

Pressing the Esc key at the prompt while using the more command displays a help screen. True or False?

False

The command strings /bin/echo displays the raw binary characters inside the /bin/echo binary executable program. True or False?

False

Linux uses a logical directory tree to organize files into different folders. True or False?

True


Related study sets

Geometry Honors: 03.02 Similarity

View Set

GI PrepU - Ch46 - 29 Ch47 - 11 Ch50 - 3 Ch44 after 43

View Set

BIBL 104-Quiz: The Old Testament Books of Prophecy

View Set

Python Programming Final Unit 1a Test

View Set

AP Gov Chapter 8: Social Movements

View Set

Livestock Feeding Sections Final

View Set

Maternal and Newborn Success Chapter 3 Women's Health Issues

View Set