The score is 74%
1. The /etc/mail/aliases file contains the mail aliases and is used by mail programs such as sendmail to re-direct mail to another user or via another name or to many user. The /etc/aliases file is a symbolic link to the /etc/mail/aliases file.
2. The lpstat -d command will just print the default destination for output requests.
The lpstat -s command will print the status summary including the LP scheduler, default destination, and printers.
The lpstat -r command simply prints the status of the LP request scheduler.
The lpstat -t command is used to get ALL the status information about the LP print service.
3. The following options are some of available options to the format utility:
-d disk-name specify which disk should be made current upon entry into the program
-e enable SCSI expert menu
-f command-file take command input from command-file rather than the standard input.
-l log-file log a transcipt of the format session to the indicated log-file.
4. The boot PROM has two main objectives which are to test the system's hardware, and to boot the operating system.
5. After you ftp and press return, the ftp utililty will start and you will be placed at the ftp> prompt. At this point you must use the open conmand to create a connection to another host to begin a file transfer.
6. The core software group only includes the minimum software to boot the system. The end user software group includes packages such as OpenWindows and CDE. Neither include man pages. You would need to install the developer software group to get man pages as well as libraries for system and application developers to use.
7. The output from system startup scripts (rc scripts) is directed to the /dev/msglog file (please refer to the /etc/inittab file). This file is an alias to /dev/sysmsg.
8. If you want to change the owner of a file "file1" from "userA" to "userB", please run the below command:
chown userB file1
9. To submit a print request to a printer named "printer1" of the file named " file1", please run the below comand:
lpr -P printer1 file1
10. The /etc/default/login file is used to setup user dfaults such as PATH, SUPATH, CONSOLE, and TIMEOUT.
It is advisable from a security standpoint to have the variable SUPATH set in the /etc/default/login file, but not to place a dot(.), which is the current directory symbol, in the SUPATH.
11. The psrinfo command is used to display information about the system's processors, including how many are installed in the system. Use the -v option to set more information such as what speed the CPU's are running at.
12. Disk slicing is a necessary step before installing the Operating System onto the hard drive. Disk slicing is NOT optional.
13. The fsck command:
-y or Y: Assume a yes response to all questions asked by fsck.
-n or N: Assume a no response to all questions asked by fsck.
-V: Echo the expanded command line but do not execute the command.
-m: Check but do not repair.
14. The command "prstat -n 5 -s pri -u root" will display the 5 highest priority processes running on the system by the super user, also known as root. The -n option will restrict the output to the number of lines specified (in this case 5). The -s option is used to sort the output in descending order (in this case, sort by pri or priority). To sort in ascending order, use the -S. Lastly, the -u option specified which user processes to display (in this case root).
15. "/etc/init.d/lp stop" is the proper command to stop the print services, to restart them, you would use the command "/etc/init.d/lp start".
16. The Serial Port Manager from within the Admintool will allow you to setup a modem to dial-in only, dial-out only, and bidirectional (which will allow the modem to both receive calls and dial out).
17. The only 2 commands that allow you to change to any run level is init and telinit:
init, telinit - change to any run level.
shutdown - move to run level 0,1,s,S,5,or 6.
halt - move to run level 0.
reboot - move to run level 6.
poweroff - move to run level 5.