Term
For some languages, such as Chinese, the ASCII character set is preferred instead of the Unicode character set. |
|
Definition
|
|
Term
Emacs is a screen editor. True or False |
|
Definition
|
|
Term
In vi, a tilde (~) precedes all line-oriented commands. True or False |
|
Definition
|
|
Term
Emacs is a modal editor. True or False |
|
Definition
|
|
Term
Like the vi editor, Emacs lets you search for specific text. True or False |
|
Definition
|
|
Term
UNIX/Linux store data, such as letters, product records, or vendor reports, in flat ASCII files. True or False |
|
Definition
|
|
Term
The command rmdir can be used to delete a directory that is not empty. True or False |
|
Definition
|
|
Term
When you are moving files, using the -o option with the mv command can be a good idea so that you don’t unexpectedly overwrite a destination file with the same name. True or False |
|
Definition
|
|
Term
When you use the paste command, by default, the pasted results appear in columns separated by commas. True or False |
|
Definition
|
|
Term
You can complete a project using awk that you cannot complete using a combination of paste, cut, sort, and join. True or False |
|
Definition
|
|
Term
The exclusive use of 0s and 1s as a way to communicate with the computer is known as ____ language. a. mathematical c. binary b. logical d. machine |
|
Definition
|
|
Term
The ASCII character set represents ____ characters. a. 256 c. 16,384 b. 512 d. 65,536 |
|
Definition
|
|
Term
Compiled and interpreted files that can be run are called ____ program files. a. binary c. assembly b. executable d. dynamic |
|
Definition
|
|
Term
Insert mode, which lets you enter text, is accessed by typing the letter ____ after the vi editor is started. a. “e” c. “d” b. “i” d. “n” |
|
Definition
|
|
Term
The vi editor’s ____ mode is started by pressing Esc. a. edit c. ex b. insert d. command |
|
Definition
|
|
Term
You can access vi’s ex mode by pressing Esc, and then typing a(n) ____ to enter extended commands at the bottom of the screen. a. colon (:) c. tilde (~) b. semicolon (;) d. exclamation sign (!) |
|
Definition
|
|
Term
When editing a text file with vi, if you want to save your changes and exit right away, you can use ____ or ZZ from command mode. a. :wq c. :se b. :q! d. :sq |
|
Definition
|
|
Term
Using ____ plus a command-line command enables you to start a new shell, run the command, and then go back into the vi editor. a. :q c. :c b. :! d. :$ |
|
Definition
|
|
Term
The ____ Emacs command is used to mark the cursor location. a. Ctrl + @ c. Ctrl + <
. Ctrl + > d. Ctrl+ m |
|
Definition
|
|
Term
You can start Emacs by entering the ____ command in the terminal window or at a command line in UNIX/Linux. a. e c. emcs b. em d. emacs |
|
Definition
|
|
Term
You can use ____ to search backward in Emacs. a. Alt+r c. Alt+b b. Ctrl+r d. Ctrl+b |
|
Definition
|
|
Term
You can view general Emacs documentation by entering ____ (press this one or two times) while you are in Emacs. a. Alt+? c. Alt+h b. Ctrl+? d. Ctrl+h |
|
Definition
|
|
Term
You can use the ____ command to turn on the word wrap feature in Emacs. a. Alt+w c. Alt+q b. Ctrl+w d. Ctrl+q |
|
Definition
|
|
Term
In UNIX/Linux, text files and binary files are considered to be ____ files. a. executable c. regular b. document d. dynamic |
|
Definition
|
|
Term
Character special files are used by input/output devices for communicating one character at a time, providing what is called ____ data. a. raw c. ASCII b. binary d. block |
|
Definition
|
|
Term
System administrators and programmers refer to standard input as ____. a. sin c. stdin b. stin d. standardin |
|
Definition
|
|
Term
System administrators and programmers refer to standard output as ____. a. sout c. stdout b. stout d. standardout |
|
Definition
|
|
Term
You can use the ____ operator to redirect commands or program error messages from the screen to a file. a. 1> c. 3> b. 2> d. 4> |
|
Definition
|
|
Term
The command > accountsfile ____. a. deletes de file accountsfile b. is not valid in UNIX/Linux systems c. displays the contents of the file accountsfile on the screen d. creates an empty file called accountsfile |
|
Definition
D. creates an empty file called accountsfile |
|
|
Term
You can use the ____ command to create empty files. a. touch c. make b. create d. null |
|
Definition
|
|
Term
When you no longer need a file, you can delete it using the ____ command. a. rm c. dl b. remove d. delete |
|
Definition
|
|
Term
When you no longer need a directory, you can use command ____ to remove it. a. xtree c. dldir b. rmdir d. deltree |
|
Definition
|
|
Term
The cp ____ option creates a symbolic link or name at the destination rather than a physical file. a. -s c. -l b. -y d. -n |
|
Definition
|
|
Term
To move a file, you use the ____ command along with the source file name and destination name. a. rm c. mv b. rename d. move |
|
Definition
|
|
Term
The ____ option of the find command displays files that have been changed within the last n minutes. a. -min n c. -nmin n b. -cmin n d. -mmin n |
|
Definition
|
|
Term
The ____ option of the find command displays files that have been changed within the last n days. a. -cdays n c. -mdays n b. -ctime n d. -mtime n |
|
Definition
|
|
Term
When you use find, it is useful to note that some UNIX versions require the ____ option after the file name to display the names of files. a. -display c. -show b. -print d. -names |
|
Definition
|
|
Term
If you execute ____, the contents of file1 are sorted and the results are stored in file2. a. sort file1 -o file2 c. sort file1 > file2 b. sort file1 -d file2 d. sort file1 file2 |
|
Definition
|
|
Term
A sorting ____ is a field position within each line. a. index c. column b. key d. position |
|
Definition
|
|
Term
To run the myscript shell script located in the current directory, you should enter: ____. a. start myscript c. run myscript b. /.myscript d. ./myscript |
|
Definition
|
|
Term
A binary digit, called a(n)________ for short, is in one of two states. |
|
Definition
|
|
Term
The term _____ is the abbreviation for binary term. |
|
Definition
|
|
Term
Graphics files include bit patterns—rows and columns of dots called a(n)_____—that must be translated by graphics software into an image |
|
Definition
|
|
Term
_____ special files are related to devices, such as disks, and send information using blocks of data. |
|
Definition
|
|
Term
When UNIX/Linux detect errors in processing system tasks and user programs, they direct the errors to ______, which, by default, is the screen. |
|
Definition
|
|
Term
Although the touch command cannot alter a file’s _______ changed date and time, it can alter the file’s access and modification dates and times. |
|
Definition
|
|
Term
The _______ option of the paste command causes files to be pasted one after the other instead of in parallel. |
|
Definition
|
|
Term
You can use the _____ command to remove specific columns or fields from a file. |
|
Definition
|
|
Term
You can use the ______ command to sort a file’s contents alphabetically or numerically. |
|
Definition
|
|
Term
You can use the _____ command to associate lines in two files on the basis of a common field in both files. |
|
Definition
|
|
Term
in Emacs, cancels the current command
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k
|
|
Definition
|
|
Term
used in vi to move up one line
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k |
|
Definition
|
|
Term
used in Emacs to scroll up one screen
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k |
|
Definition
|
|
Term
used in vi to delete the text at the cursor
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k |
|
Definition
|
|
Term
used in vi to copy lines
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k |
|
Definition
|
|
Term
used in vi to search forward for a pattern of characters
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k |
|
Definition
|
|
Term
acts as a wildcard for one character in vi
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k |
|
Definition
|
|
Term
this option prevents the touch command from creating a file, if it does not already exist
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k |
|
Definition
|
|
Term
combines files side by side
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k |
|
Definition
|
|
Term
option of the cut command used to indicate that a specific character separates the fields
a. Ctrl+g
b. Alt+w
c. dd
d. yy
e. dot (.)
f. /
g. $
h. x
i. k
|
|
Definition
|
|
Term
|
Definition
An acronym for American Standard Code for Information Interchange, a standard set of bit patterns organized and interpreted as alphabetic characters, decimal numbers, punctuation marks, and special characters. The code is used to translate binary numbers into ordinary language, and, therefore, makes information stored in files accessible. ASCII can represent up to 256 characters (bit patterns). |
|
|
Term
|
Definition
A process of translating a program file into machine-readable language. |
|
|
Term
|
Definition
A simplified word processor used to create and edit documents but that has no formatting features to boldface or center text, for example. |
|
|
Term
How can you save a file without exiting vi? |
|
Definition
|
|
Term
How can you turn on line numbering in vi? |
|
Definition
|
|
Term
How is “copy and paste” and “cut and paste” performed in vi? |
|
Definition
yy = copy line dd = cut line p = paste |
|
|
Term
|
Definition
A set of commands that automates a complex task. A macro is sometimes called a superinstruction. |
|
|
Term
What is a fixed-length record? |
|
Definition
A record structure in a file in which each record has a specified length, as does each field in a record. |
|
|
Term
What is the purpose of entering the following command? cp designs/* duplicates |
|
Definition
to copy all files in the design directory to the duplicates directory |
|
|
Term
|
Definition
A text file that contains sequences of UNIX/Linux commands that do not need to be converted into machine language by a compiler. |
|
|