Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/31

Click to flip

31 Cards in this Set

  • Front
  • Back
Which of the following are related to serial input/output devices, such as printers?
a. Block special files
b. Regular files
c. Character special files
d. None of the above
c. Character special files
Which of the following are related to devices, such as disks, and send information to devices?

a. Block special files
b. Character files
c. Regular files
d. All of the above
a. Block special files
Which of the following represents standard input?

a. stder
b. stdrr
c. stde
d. stdin
d. stdin
Which of the following is NOT a redirection operator?
a. >
b. >>
c. 2>
d. 3>
d. 3>
Which of the following is the proper syntax for redirecting a list to a file called homedir.list?
a. ls>homedir-list
b. ls>homedir.list
c. ls<homedir-list
d. ls<homedir.list
b. ls>homedir.list
Which of the following would be the proper syntax for creating an empty file?
a. $>newfile 1
b. $<newfile 1
c. Both A and B
d. ls>newfile 1
a. $>newfile 1
The primary purpose of the ____ command is to change a file's name and date stamp?
a. tool
b. ls
c. touch
d. create
c. touch
Which of the following is included in inode information?
a. File group
b. Changed date
c. File creation date
d. All of the above
d. All of the above
Which of the following touch command options updates the access time ONLY?
a. _a
b. -a
c. .a
d. $a
b. -a
Which of the following touch command options updates the modification time ONLY?
a. -m
b. .m
c. $m
d. _m
a. -m
Which of the following touch command options prevents touch from creating the file if it does NOT already exist?
a. -d
b. -m
c. -a
d. -c
d. -c
Which of the following would be the proper syntax for the remove directory command?
a. dirrm directory name
b. mrdir directory name
c. rmdir directory name
d. all of the above
c. rmdir directory name
Which of the following options tells the rm command to remove a directory and everything it contains including subdirectories?
a. -r
b. -dd
c. -d
d. -rm
a. -r
Which of the following commands, when used interactively with the rm command, asks if you are certain you want to delete its file and its directory?

a. .i
b. -i
c. $i
d. .dir
b. -i
The proper syntax for moving a file in UNIX is which of the following?
a. mv-option source destination
b. mov-option source destination
c. mv source destination
d. none of the above
a. mv-option source destination
Which of the following commands searches for files that have a specified name?
a. search
b. look
c. find
d. all of the above
c. find
The proper syntax for the find command is which of the following?
a. find filename-path
b. find pathname-name filename
c. find filename
d. all of the above
b. find pathname-name filename
Which of the following commands can be used to combine two files in a master file?
a. com
b. redir
c. cat
d. none of the above
c. cat
Which of the following commands combines files side by side?
a. paste
b. cat
c. redir
d. none of the above
a. paste
Which of the following commands combines files end to end?
a. redir
b. paste
c. cat
d. all of the above
c. cat
Which of the following commands normally sends its output to the screen?
a. paste
b. cat
c. Both A and B
d. none of the above
a. paste
Using the cut command, cutting from fixed length records creates a more legible display and requires ____.
a. less storage space
b. more storage space
c. equal storage space
d. none of the above
b. more storage space
The sort command can ONLY sort file content in which of the following manners?
a. Alphabetically
b. Numerically
c. Both A and B
d. None of the above
c. Both A and B
A(n) ____ is a field position within each line.
a. sorting key
b. modified key
c. coding key
d. all of the above
a. sorting key
You can use the vi editor to create a script file and make the script file executable using which of the following commands with the x argument?
a. redir
b. chmod
c. shcpt
d. none of the above
b. chmod
The join command differs from the other file processing commands in this chapter because it is used in ____ database processing.
a. relational
b. sequential
c. differential
d. all of the above
a. relational
Relational databases consider files as ____.
a. tables
b. records
c. rows
d. all of the above
a. tables
The syntax for the join command would be considered which of the following?
a. join [options] file1 file2
b. join file1 file2 [options]
c. join file1 [options] file2
d. none of the above
a. join [options] file1 file2
The figure shown is an example of which type of join?
a. Asynchronous
b. Relational
c. Differential
d. Sequential
b. Relational
Which of the following options, when combined with join command, specifies the field separator character?
a. -a
b. .a
c. -t
d. -e
a. -a
b. .a
c. -t
d. -e
Which of the following is known as a pattern scanning and processing language?
a. Awk
b. Wka
c. Fwk
d. All of the above
a. Awk