IFT 250 QUIZ 1 - 7 QUESTIONS WITH VERIFIED
ANSWERS
Operating system - Answers - is software that manages the computer's hardware and
provides a convenient and safe environment for running programs. It acts as an
interface between programs and the hardware (CPU, RAM, hard disk drive, printer, CD-
ROM, etc).
root - Answers - On the Unix / Linux operating system, the system admin user account
is
A _____________ is a component in Unix that runs on top of the kernel and provides a
command line user environment. - Answers -
Unix is written in the ________ programming language. This allows for portability across
hardware platforms. - Answers - C
Features of the Unix/Linux operating system include: - Answers - All of the above!
Which of the following commands would you use to get help while using the UNIX
command line? - Answers - Help, Info and Man
Which of the following commands would you use to change your password for your user
account? - Answers - passwd
Which of the following commands would you use to determine what directory you are
current in? - Answers - pwd
Which of the following commands would you use to review the last commands executed
at the command line for the user that you are currently logged on as? - Answers -
history
Which of the following commands would you use to print a string of text to the monitor?
- Answers - echo
Which of the following commands would you use to see when a file was last modified? -
Answers - ls -l
Which of the following commands would you use to review your terminal settings? -
Answers - stty
Which of the following commands would you use to send mail to another user on the
UNIX system? - Answers - mail or mailx
, Which of the following commands would you use to pull selected lines of text from a file
that matches a certain pattern? - Answers - grep
Which of the following commands would you use after a command with a pipe | to
control paging on the monitor - Answers - less and more
Which of the following applies to file names? - Answers - Must be unique in the same
directory, Limited to 255 characters, Can contain upper and lower case letters,
numbers, and some special characters
T or F: ACLs allow us to specify a more granular set of permissions to files and
directories over the regular method of setting permissions. - Answers - True
T or F: Files are containers for storing data and directories are containers for storing
files. - Answers - True
What is the unique number that identifies a file in the filesystem - Answers - inode
number
Which of the following are file types? - Answers - Link, Files, Directories, CHaracter
Devices, Block Devices, Block Devices and Additional types, not listed above
UNIX/Linux uses a hierarchical directory structure. True or False - Answers - True
When you delete a __________ link, only the link is deleted, not the file itself. - Answers
- symbolic
To change the permissions associated with a file, use the ____________ command. -
Answers - chmod
Which directory is commonly used to store system configuration files? - Answers - /etc
To set a pointer with a new name or location to an existing file without making a second
copy of the file, use the ____________ command. - Answers - Ln
Which mode does vim place you into when it starts - Answers - command
Which commands displays the PPID? - Answers - ps -f
Which vim mode allows users to add text to the contents of the file - Answers - insert
What is the default nice value for a process not executed with the nice command? -
Answers - 0
ANSWERS
Operating system - Answers - is software that manages the computer's hardware and
provides a convenient and safe environment for running programs. It acts as an
interface between programs and the hardware (CPU, RAM, hard disk drive, printer, CD-
ROM, etc).
root - Answers - On the Unix / Linux operating system, the system admin user account
is
A _____________ is a component in Unix that runs on top of the kernel and provides a
command line user environment. - Answers -
Unix is written in the ________ programming language. This allows for portability across
hardware platforms. - Answers - C
Features of the Unix/Linux operating system include: - Answers - All of the above!
Which of the following commands would you use to get help while using the UNIX
command line? - Answers - Help, Info and Man
Which of the following commands would you use to change your password for your user
account? - Answers - passwd
Which of the following commands would you use to determine what directory you are
current in? - Answers - pwd
Which of the following commands would you use to review the last commands executed
at the command line for the user that you are currently logged on as? - Answers -
history
Which of the following commands would you use to print a string of text to the monitor?
- Answers - echo
Which of the following commands would you use to see when a file was last modified? -
Answers - ls -l
Which of the following commands would you use to review your terminal settings? -
Answers - stty
Which of the following commands would you use to send mail to another user on the
UNIX system? - Answers - mail or mailx
, Which of the following commands would you use to pull selected lines of text from a file
that matches a certain pattern? - Answers - grep
Which of the following commands would you use after a command with a pipe | to
control paging on the monitor - Answers - less and more
Which of the following applies to file names? - Answers - Must be unique in the same
directory, Limited to 255 characters, Can contain upper and lower case letters,
numbers, and some special characters
T or F: ACLs allow us to specify a more granular set of permissions to files and
directories over the regular method of setting permissions. - Answers - True
T or F: Files are containers for storing data and directories are containers for storing
files. - Answers - True
What is the unique number that identifies a file in the filesystem - Answers - inode
number
Which of the following are file types? - Answers - Link, Files, Directories, CHaracter
Devices, Block Devices, Block Devices and Additional types, not listed above
UNIX/Linux uses a hierarchical directory structure. True or False - Answers - True
When you delete a __________ link, only the link is deleted, not the file itself. - Answers
- symbolic
To change the permissions associated with a file, use the ____________ command. -
Answers - chmod
Which directory is commonly used to store system configuration files? - Answers - /etc
To set a pointer with a new name or location to an existing file without making a second
copy of the file, use the ____________ command. - Answers - Ln
Which mode does vim place you into when it starts - Answers - command
Which commands displays the PPID? - Answers - ps -f
Which vim mode allows users to add text to the contents of the file - Answers - insert
What is the default nice value for a process not executed with the nice command? -
Answers - 0