CNIT 340 exam 1|101 Q’s and A’s
False - -if you know how to administer one flavor of unix you know how to
administer them all. TRUE or FALSE
- stdin - -where input to the application is sourced
- stdout - -where output from the application is sourced
- stderr - -where error messages are sent
- array variables - -can hold multiple elements at a time
- False - -user-defined variables do not need to start with a letter or
underscore, and can start with numbers. TRUE or FALSE
- True - -UNIX is command line only. TRUE or FALSE
- True - -Unix has only one file system. TRUE or FALSE
- False - -Compiling software from source is preferred because
dependencies are automatically added in installation. TRUE or FALSE
- -R - -Used to perform actions on directories and subdirectories
- -f - -Used to skip confirmations
- /usr - -where additionally installed software is located
- /var - -where spooling, cache, and log files are located
- /bin - -where executables for basic operation are located
- 2 - -What run level is multi-user mode (non-networked) ran at
- 3 - -What is the most commonly used run more for servers
- 3 - -What SysV run level is multi-user.target run at
- 1 - -What SysV run level is rescue.target ran at
- 0 - -What SysV run level is poweroff.target ran at
- chkconfig <service> on - -What is the Sys V equivalent of systemctl
enable <service>
, - compile from source - -This software installation technique is natively
supported by multiple UNIX versions (BSD, Linux, AIX, HPUX, etc.)
- -package managers/packages
-ports collection - -This software installation technique automatically handles
dependencies
- -ports collection - -This software installation technique is FreeBSD specific
- -package managers/packages - -this software installation technique
includes yum and apt
- CUPS - -UNIX printing approach supports windows printing clients
- -All of the above should have their own partition - -According to lecture, all
of the following except ____ should have its own partition
-/
-/home
-/var
-/etc
-all of the above should have their own partition
- rwxr-xr-- - -What is the resulting permission sequence for the following
UNIX command? chmod 754 /directory/file
- grep - -Which command returns lines from a file containing a search
string?
- make - -What utility typically automates the process of installing software
from source code?
- symbolic links - -The files in the /etc/rc3.d directory are
- systemctl - -In CentOS 7 Linux, which command can be used to change
the run level?
- IP and route - -What command or file is used to set the default router of a
UNIX system?
- /etc/hostname or /etc/hosts - -Which file stores the Fully Qualified Domain
Name (FQDN) for a UNIX system?
- /etc/passwd - -What UNIX config file contains the list of users?
False - -if you know how to administer one flavor of unix you know how to
administer them all. TRUE or FALSE
- stdin - -where input to the application is sourced
- stdout - -where output from the application is sourced
- stderr - -where error messages are sent
- array variables - -can hold multiple elements at a time
- False - -user-defined variables do not need to start with a letter or
underscore, and can start with numbers. TRUE or FALSE
- True - -UNIX is command line only. TRUE or FALSE
- True - -Unix has only one file system. TRUE or FALSE
- False - -Compiling software from source is preferred because
dependencies are automatically added in installation. TRUE or FALSE
- -R - -Used to perform actions on directories and subdirectories
- -f - -Used to skip confirmations
- /usr - -where additionally installed software is located
- /var - -where spooling, cache, and log files are located
- /bin - -where executables for basic operation are located
- 2 - -What run level is multi-user mode (non-networked) ran at
- 3 - -What is the most commonly used run more for servers
- 3 - -What SysV run level is multi-user.target run at
- 1 - -What SysV run level is rescue.target ran at
- 0 - -What SysV run level is poweroff.target ran at
- chkconfig <service> on - -What is the Sys V equivalent of systemctl
enable <service>
, - compile from source - -This software installation technique is natively
supported by multiple UNIX versions (BSD, Linux, AIX, HPUX, etc.)
- -package managers/packages
-ports collection - -This software installation technique automatically handles
dependencies
- -ports collection - -This software installation technique is FreeBSD specific
- -package managers/packages - -this software installation technique
includes yum and apt
- CUPS - -UNIX printing approach supports windows printing clients
- -All of the above should have their own partition - -According to lecture, all
of the following except ____ should have its own partition
-/
-/home
-/var
-/etc
-all of the above should have their own partition
- rwxr-xr-- - -What is the resulting permission sequence for the following
UNIX command? chmod 754 /directory/file
- grep - -Which command returns lines from a file containing a search
string?
- make - -What utility typically automates the process of installing software
from source code?
- symbolic links - -The files in the /etc/rc3.d directory are
- systemctl - -In CentOS 7 Linux, which command can be used to change
the run level?
- IP and route - -What command or file is used to set the default router of a
UNIX system?
- /etc/hostname or /etc/hosts - -Which file stores the Fully Qualified Domain
Name (FQDN) for a UNIX system?
- /etc/passwd - -What UNIX config file contains the list of users?