CNIT 340 COMPREHENSIVE EXAM UPDATED
QUESTIONS AND SOLUTIONS RATED A+
✔✔What does the redirect command '>' do? - ✔✔Redirects output of a program to a
file.
✔✔What is the grep command? - ✔✔Used to search for a string in a file.
✔✔What is the find command used for? - ✔✔To find files.
✔✔What does the ps command do? - ✔✔Lists all currently running processes.
✔✔What does the kill command do? - ✔✔Used to terminate a currently running
process.
✔✔How is system shutdown accomplished? - ✔✔Using the shutdown command.
✔✔What are dependencies in software installation? - ✔✔Applications that depend on
other applications being available.
✔✔Describe the software installation process via compilation. - ✔✔Software is
distributed as source code and compiled on the target machine.
✔✔What are package managers? - ✔✔Tools that automate the process of locating,
downloading, and installing packages.
✔✔What is the software installation process via compilation? - ✔✔Software is
distributed as source code, compiled on the target machine, and requires a compiler
and support libraries.
✔✔What automates the software installation process via packages? - ✔✔Ports
collection, common to BSD, automates downloading and compiling source code and
handles dependencies.
✔✔What are pre-compiled binaries for specific hardware? - ✔✔.rpm and .pkg files.
✔✔What do package managers do? - ✔✔They automate locating, downloading, and
installing packages, as well as managing dependencies.
✔✔Are there any device drivers in UNIX? - ✔✔No, hardware support is done in the
kernel.
✔✔What is a modular kernel? - ✔✔A kernel that can have code dynamically added by
linking kernel modules at run-time.
, ✔✔What is the process of configuring and building kernels? - ✔✔Install kernel sources
and compilers, modify system configuration, build, install, and test the new kernel.
✔✔What happens during the UNIX system startup process? - ✔✔The boot loader loads
the kernel, which initializes hardware, loads modules, and starts the init program.
✔✔What are the standard UNIX modes? - ✔✔Single-user mode (one user, minimal
functionality) and multi-user mode (multiple users, networking enabled).
✔✔What controls system initialization in UNIX? - ✔✔Scripts at boot initialize basic
config, network config, and daemons.
✔✔What is System V? - ✔✔A system that uses a run level paradigm with different
functionalities for each run level.
✔✔What are the System V run levels? - ✔✔0 - power down, 1 - system administration,
S - single-user, 2 - multi-user (non-networked), 3 - multi-user (networked), 4 - not used,
5 - firmware state, 6 - shutdown and reboot.
✔✔How are network devices configured in UNIX? - ✔✔Using the ifconfig command.
✔✔What command is used to configure routing in UNIX? - ✔✔The route command.
✔✔Where are the default network configuration files located in Linux? - ✔✔In the
/etc/sysconfig/network-scripts directory.
✔✔Where are the DNS and hostname settings stored? - ✔✔In /etc/hostname for
hostname and /etc/hosts for FQDN.
✔✔What is NIS/NIS+? - ✔✔A system that provides centralized authentication and name
resolution.
✔✔Where is user account information stored? - ✔✔In the /etc/passwd file.
✔✔Where is user account password information stored? - ✔✔In the hidden shadow
password file.
✔✔What commands can be used to add users in different UNIX systems? - ✔✔Linux:
useradd, AIX: mkuser, IRIX: cpeople, SCO UNIX: sysadmsh, HP-UX: sam.
✔✔What command is used to assign a user password? - ✔✔passwd <username>.
QUESTIONS AND SOLUTIONS RATED A+
✔✔What does the redirect command '>' do? - ✔✔Redirects output of a program to a
file.
✔✔What is the grep command? - ✔✔Used to search for a string in a file.
✔✔What is the find command used for? - ✔✔To find files.
✔✔What does the ps command do? - ✔✔Lists all currently running processes.
✔✔What does the kill command do? - ✔✔Used to terminate a currently running
process.
✔✔How is system shutdown accomplished? - ✔✔Using the shutdown command.
✔✔What are dependencies in software installation? - ✔✔Applications that depend on
other applications being available.
✔✔Describe the software installation process via compilation. - ✔✔Software is
distributed as source code and compiled on the target machine.
✔✔What are package managers? - ✔✔Tools that automate the process of locating,
downloading, and installing packages.
✔✔What is the software installation process via compilation? - ✔✔Software is
distributed as source code, compiled on the target machine, and requires a compiler
and support libraries.
✔✔What automates the software installation process via packages? - ✔✔Ports
collection, common to BSD, automates downloading and compiling source code and
handles dependencies.
✔✔What are pre-compiled binaries for specific hardware? - ✔✔.rpm and .pkg files.
✔✔What do package managers do? - ✔✔They automate locating, downloading, and
installing packages, as well as managing dependencies.
✔✔Are there any device drivers in UNIX? - ✔✔No, hardware support is done in the
kernel.
✔✔What is a modular kernel? - ✔✔A kernel that can have code dynamically added by
linking kernel modules at run-time.
, ✔✔What is the process of configuring and building kernels? - ✔✔Install kernel sources
and compilers, modify system configuration, build, install, and test the new kernel.
✔✔What happens during the UNIX system startup process? - ✔✔The boot loader loads
the kernel, which initializes hardware, loads modules, and starts the init program.
✔✔What are the standard UNIX modes? - ✔✔Single-user mode (one user, minimal
functionality) and multi-user mode (multiple users, networking enabled).
✔✔What controls system initialization in UNIX? - ✔✔Scripts at boot initialize basic
config, network config, and daemons.
✔✔What is System V? - ✔✔A system that uses a run level paradigm with different
functionalities for each run level.
✔✔What are the System V run levels? - ✔✔0 - power down, 1 - system administration,
S - single-user, 2 - multi-user (non-networked), 3 - multi-user (networked), 4 - not used,
5 - firmware state, 6 - shutdown and reboot.
✔✔How are network devices configured in UNIX? - ✔✔Using the ifconfig command.
✔✔What command is used to configure routing in UNIX? - ✔✔The route command.
✔✔Where are the default network configuration files located in Linux? - ✔✔In the
/etc/sysconfig/network-scripts directory.
✔✔Where are the DNS and hostname settings stored? - ✔✔In /etc/hostname for
hostname and /etc/hosts for FQDN.
✔✔What is NIS/NIS+? - ✔✔A system that provides centralized authentication and name
resolution.
✔✔Where is user account information stored? - ✔✔In the /etc/passwd file.
✔✔Where is user account password information stored? - ✔✔In the hidden shadow
password file.
✔✔What commands can be used to add users in different UNIX systems? - ✔✔Linux:
useradd, AIX: mkuser, IRIX: cpeople, SCO UNIX: sysadmsh, HP-UX: sam.
✔✔What command is used to assign a user password? - ✔✔passwd <username>.