Question 176) Which of the following commands can be used to define a Bourne shell variable?
a setenv PRINTER=lp1
b env PRINTER lp1
c PRINTER=lp1
d set PRINTER lp1
e define PRINTER as lp1
Ans: c
Question 177) Which of the following create a new file ?
a touch newfile
b cat oldfile newfile
c cp oldfile
d cat oldfile | newfile
Ans: a,b
Question 178) How do you display the work Space menu?
a Press the right mouse button inside any window.
b Press the right mouse button outside any icon or window
c Press the center mouse button anywhere on the screen.
Ans: b
Question 179) Which of the following can be used to remove packages?
a admintool
b pkgtool
c pkgadd
d pkgrm
e pkginfo
Ans: a,d
Question 180) How to display current shell process ?
a ps -aux
b ps -ef
c ps
d ps -el
Ans: c
Question 181) What is the pushpin used for in some menus and windows?
a Used to "pin" a menu to the workspace
b Used to log out of the System.
c Used to open another window.
Ans: a
Question 182) What does the term ABSOLUTE PATH mean?
a Tells you absolutely how to get to a file or directory.
b Tells you where you are in a file structure
c Displays the directory you are currently working in.
Ans: a
Question 183) What is the Internet class for IP 192.34.64.11 ?
a A
b B
c C
d D
Ans: c
Question 184) Whats the output of mkdir -p x/y/z
a it creates dir x,y,z
b it creates dir z in y , y in x , x under the current dir
c its not a vaild command
d it creates dir x,y/z
Ans: b
Question 185) What does the term PARENT DIRECTORY mean?
a The root directory.
b A directory with any directories below it.
c A directory below another directory.
Ans: b
Question 186) While changing the password, by how many characters the new password has to differ from the old one in Solaris 8?
a 2
b 8
c 3
d 4
Ans: c
Question 187) On name service form, if you choose "Specify hostname of server",what you must provide ? (During installation when you choose NIS+)
a server's domain
b server's hostname
c server's IP address
d server's Ethernet address
Ans: b,c
Question 188) A file system can be defined as?
a files and directories.
b a hierarchy of files and directories found in a partition.
c The partitions on a system.
Ans: b
Question 189) Which file system contains unbundled and third-party software applications?
a /usr
b /home
c /opt
Ans: c
Question 190) What must be specified when using the kill command to terminate a process?
a The signal to send to the process
b The process ID (PId of the process
c The owner (UId of the process
d The name of the process
Ans: b
Question 191) Which command displays the all files with one screen full a time ?
a ls -la | more
b ls -la more
c ls -ls
d ls -la more
Ans: a
Question 192) Which file system is at the top of the file hierarchy?
a root (/)
b /home
c /etc
Ans: a
Question 193) How can you send mail in command line ?
a mail -s "hi" username
b mail username
c mail username filename
d mail username@machinename < filename
Ans: d
Question 194) Which Bourne shell command changes to your login directory ?
a cd
b cd ~
c cd /home
d cd $HOME
Ans: a,b,d
Question 195) Which file system contains executable commands, system administration utilities, and library routines?
a /etc
b /usr
c /home
Ans: b
Question 196) Which file system contains the user's home directory?
a root (/)
b /export/home
c /usr
Ans: b
Question 197) Which command to stop entire LP services ?
a /etc/init.d/lp stop
b lp -d
c cancel
d lpadmin -d
Ans: a
Question 198) Your system has been brought to the boot prompt through an interrupt. Which command should you now use to minimize amount of disruption caused to the disk-file system?
a reset
b sync
c disk
d set
Ans b
Question 199) What's the software package cluster ?
a a logical collection of related software packages.
b unboundle software packages.
c a collection of all software packages.
d a collection of various files and directories.
Ans: a
Question 200) What is the command that displays all the system mount points?
a showmount
b mountd
c mount
Ans: c
No comments:
Post a Comment