Question 201) What is the contents in /etc/skel ?
a template of shell scripts.
b default login scripts.
c kernel system files.
d host's name information.
Question 202) Which 2 commands should be used to acquire online information about the /etc/vfstab file?
a man -s4 vfstab
b man vfstab
c man vfstab(5)
d man /etc/vfstab
Question 203) What is the command to display the file system information in Kbytes?
a ls -l
b df -k
c df -l
Question 204) Which of the following commands can be used to create a UFS file system?
b mkfs -F ufs
Question 205) What does the term CURRENT DIRECTORY refer to?
a The directory in which you are currently working.
b The hierarchy of files and directories.
c parent directory.
Question 206) You want to prevent the password for the guest account from being changed frequently. Which field of the Admintool Modify User window do you use?
b Min Change
c Max Change
d Max Inactive
Question 207) Which ls command option would you use to verify the owner of a file?
Question 207) Under format menu which command is used to find the current label
Question 208) Which of the following can be used to specify the printer to be used?
a The LPDEST shell variable
b The lpadmin command
c The lp command
d The PRINTER shell variable
Question 209) Which of the following can be used to remove multiple patches?
a patchrm -M /var/spool/patch 104567-03 106583-10 103276-04
b Use patchrm to remove each patch separately
c patchrm -M /var/spool/patch patchlist
Question 210) What is the pwd command used for?
a To display your default printer.
b To display your parent directory.
c To display your current directory.
Question 211) A tree of directories and files is called
a a file system
b a cluster
c a hard drive
Question 212) What does one period (.) represent.
a The current parent directory.
b The current working directory.
c The current sub-directory.
Question 213) What does the -a option do in the ls command
a list files in long format
b list hidden files
c This is not a valid option for the ls command
Question 214) What command displays the NVRAM parameters?
Question 215) What command changes the NVRAM parameters?
Question 216) What does the -r option do in the rm command
a removes all empty sub-directories.
b removes a directory that is not empty.
c removes all files.
Question 217) Which command are legal ?
a ls filename -l
b head -10
c head -20 /dev/filename
d mv -i *
Question 218) What does the cat command do?
a Gives a listing of all files in a directory.
b Displays short files.
c Displays your current working directory.
Question 219) Which 2 commands or utilities can be used to display a list of active process?
d ps -a
Question 220) How is the error message processed if the print daemon encounter a problem when a user sends a file to the printer ?
a display the message on the console or mail the message to administrator.
b display the message on the console and mail the message to the user sending the job
c display the message on console only.
d mail the message to the user only.
Question 221) When receiving an encoded mail, how to read it ?
a nothing. Save it to a file will be readable automatically.
b save it to a file, then uncompress it.
c save to a file, then uudecode the file
d save to a file, then crypt the file
Question 222) Which function is not performed by /etc/group file ?
a assign secondary groups for users
b assign a name to primary groups
c provide a special group for super user privilege
Question 223) Which command(s) does not integrate incremental backup feature?
Question 224) What does the more command do?
a Displays the contents of a file to the screen more than once
b Displays the contents of a file
c Displays the contents of a file to the screen one screenful at a time
Question 225) To list current mounted file system.
Question 226) Which commands are correct ?
a ls /usr/local/bin -l
b pwd cd
c cd ..
d rm -i *
Question 227) What does the man command do?
a Displays the help viewer.
b Displays all processes that are active
c Accesses the on-line reference pages.
Question 229) What does the head command do?
a Displays the header in a file
b Creates a header in a file
c Displays the first n lines of a file
Question 230) What does the tail command do?
a Displays the footnote in a file
b Displays the last n lines of a file
c Creates a footnote for a file
Question 240) Which command can delete /export/app/report directory in /export/app directory ?
a rm -r report
b rmdir report
c rm report
d rmdir /export/app/report
Question 241) Which command should be used to configure only those devices supported by the st drives?
a devfsadm -i
b devfsadm -i st
Question 242) What does the touch command do?
a Creates new, empty files.
b Finds out if a file exist.
c Creates a new file
Question 243) What is the content of file /etc/nodename ?
a the domain name
b the machine host name
c the network name that the machine is connected to.
d the remote machine name
Question 244) Your current working directory contain ./ ../ .tst dir1/ file1 file2 file3 file4. Which command copies the .tst file into the dir1 directory?
a cp .tst /
b cp .tst /../dir1
c cp .tst dir1/
Question 245) You enter the patchrm 108577-03 command, and it fails. Which of the following situations will cause the command to fail?
a You are not logged in as root
b Patch 108577-03 is not installed on the system
c Patch 108577-04 is installed on the system
d The patch was installed using patchadd -d
Question 246) What does the semicolon allow you to do on the command line?
a Enter multiple commands on a single command line
b Enter one command on multiple command lines.
c Acts as a new line character.
Question 247) What does the asterisk represent?
a 1 or more characters
b Zero to more characters.
c 2 or more characters.
Question 248) Sysadmin group can do
a They can remotely administer
b They can change printer configuration from command line
c They can add users from command line
Question 249) Which command produces this
root console Tue Oct 2 1024 - 1050 (0026) ?
Question 250) The option used with ls to list all hidden files
Question 251) # lpmove stock sparc meAns:
a move all print requests from stock to sparc
b move all root printing requests from stock to sparc
c move printing request stock to printer sparc
Question 252) Which of the following commands will show the current run level?
a) boot -l
b) who -b
d) who -r
Question 253) What does the Pipe (|) do?
a Takes the output of a command and logs it.
b Take the output of one command and displays it to the screen.
c Takes the output of one command and passes it as the input into a following command
Question 254) What are the 3 modes of operation in vi?
a Command mode, Insert mode, Entry mode
b Entry mode, Command mode, Replace mode
c Command mode, Entry mode, Last-line mode
Question 255) How do you create a new file using vi?
a new filename
b vi filename
Question 256) Which statement is true about IP address ?
a It consists of digital number separated by dot.
b It consists of letters, slash, dash, not digital numbers.
c It is used for searching network resources.
d It is used for searching network machines.
Question 257) What is the primary job of the shell?
a A command interpreter.
b The core of the operating system.
c Interpreter between applications and the OS.
Question 258) Which of the following shows the access mode of a file that has the setgid enabled?
Question 259) How to get date information into day variable in Bourne shell ?
Question 260) What are environmental variables?
a Variables exported to all shells.
b Any variable
c Variable available to the current shell.
Question 261) Which of the following can be added in the members list of the Admintool Add Group window?
a UIDs that are less than 1,000
b The names of user accounts that are locked or have no password
c UIDs that are 1,000 or greater
d The names of user accounts used for system administration
Question 262) What is the env command used for?
a To display the current (local) variables and their values.
b To display all variables.
c To display the current (exported environment variables and their value
Question 263) What is a local variable?
a Variables exported to all shells.
b Variables known only in the current shell or window.
c Variables defined in the .profile
Question 264) What is the command to search for files and their full paths?
Question 265) What is the set command used for?
a Displays the current shells exported variables.
b Displays the current shell's local variables.
c Displays the users that are logged in.
Question 266) What is the echo command used for?
a Display text or variables.
b Used to repeat a command more than once
c Displays text twice
Question 267) Within the partition menu of the format command, which simple command should you type next in order to give a name to the current label definition for future retrieval?
Question 268) How to use on-line help ?
b help login
c cat login
d man login
Question 269) What is the PATH variable used for?
a To determine the path to a command
b To determine the search order for the find command
c To determine the search orders for commands that are executed
Question 270) What does the which command display?
a The path name leading to a command
b To determine the search order for commands that are executed
c To determine the current shell in use
Question 271) What command displays your current search path?
a echo $PATH
b show $PATH
Question 272) What command is used to change file permissions?
Question 273) What command is used to display your current user mask setting?
Question 274) What does the r mean in the following file permission for the owner ?
a cannot read
b read only
d can execute
Question 275) What command is used to change group ownership on files and directories?
Question 276) What information is provided by the df command?
a Logical raw device of the file system partition
b Logical block device of the file system partition
c Free blocks
d Number of files that can be created
Question 277) What is setuid?
a Changes a users Id
b Treats anyone with permission to run a program as if they are the program owner.
c Lets anyone run a particular program.
Question 278) What is the command to display who is currently logged into the system?
Question 279) What does the last command display?
a login and logout information
b The last n commands executed
c The last n lines of a file
Question 280) What type are CDROM file ?
b symbolic link
Question 281) What is the format of the password file??
Question 282) Which file has login ID and other user information ?
Question 283) Which 4 vi commands switch from command mode to edit mode?
Question 284) Which are valid printer port ?
Question 285) What command is used to become a different user?
Question 286) You are working from a text-based terminal. Which command should you use to change a user's primary group?
Question 287) What command is used to display your user ID, user name, group ID, and group name?
Question 288) Which statement is true about the file /etc/hosts ?
a It gives the hosts' name and their IP addresses.
b Any user can modify it.
c It is created automatically when adding a new user.
d It is created automatically when installing system.
Question 289) What does the -(dash) option provide with the su command?
a allows the user to adopt the environment of the new user.
b allows the user to log in as another user.
c allows the user to log in as super user.
Question 290) When a user account is created, the .profile is copied from which file?
Question 291) What command is used to display the Administration Tool?
Question 292) What command is used to create a users' group?
Question 293) What command is used to add a user and create a users' home directory?
Question 294) What command allows a login session on a remote system?
Question 295) What command is used to execute a program on a remote system?
Question 296) How to identify default boot information
Question 297) How many lines head/tail will display by default ?
a 10 lines
b 5 lines
c 25 lines
Question 298) What command allows you to copy files or directories to and from another machine?
Question 299) What is the host.equiv file used for?
a to identify remote machines as trusted hosts.
b to identify remote machines.
c to identify remote hosts with the same OS.
Question 300) When the mount command is entered without any command line arguments, what happens?
a All file systems in /etc/vfstab are mounted
b All mounted file systems are displayed
c All file systems in /etc/vfstab are displayed
d All file systems listed in /etc/mnttab are displayed