April 14, 2009

Linux \ Soalris Interview Question -17

Question 400) You want to print three copies of a file, how do you do this ?
a lp -3 file
b lp -n 3 file
c lp.....

Ans: b

Question 401) The new password must differ from the old one for atleast __ charters
a 2
b 3
c 4
d 8

Ans: b

Question 402) What does a physical device name consist of?
a Slashes
b Instance numbers
c Node names
d SCSI controller numbers

Ans: a,c

Question 403) In Bourne shell, how to export variable ?
a export variable
b export $variable
c setenv variable
d set variable

Ans: a

Question 404) The command that may be used to identify the users who are logged in on other systems on the network is
a rusers
b rcp
c telnet
d rup

Ans: a

Question 405) Which of the following are the valid software configuration cluster?
a Core
b End User
c Enterprise
d Developer

Ans: a,b,d

Question 406) Which of the following commands will modify the /etc/dumpdates
a ufsdump 0c /dev/rdsk/c1t0d0s2
b ufsdump 0cf /dev/rmt/0 /dev/rdsk/c1t0d0s2
c ufsdump 0cf /dev/rmt/0n /dev/rdsk/c1t0d0s2
d ufsdump 0ucf /dev/rmt/0 /dev/rdsk/c1t0d0s2

Ans: d

Question 407) If you have multiple dump files in a magnetic tape and you want to be sure that the tape drive will skip to the end of the recorded media before you dump more files into the media, choose one of the following commands
a mt eom
b ufsdump 0ucf /dev/rmt/0n /dev/rdsk/c1t0d0s1
c mt retension
d mt forward
e mt fsf 10
f mt last

Ans: a

Question 408) Which command removes print jobs ?
a cancel
b enable
c stop

Ans: a

Question 409) NFS servers can share peripherals like modems and printers. The above statement is
a true
b false

Ans: b

Question 410) In Bourne shell, set 1234=4567, which one is variable
a 1234
b 4567
c set
d set and 1234

Ans: a

Question 411) Which is the configuration file for nfs server?
a /etc/nfstab
b /etc/nfs/nfstab
c /etc/dfs/dfstab
d /etc/sharetab
e /etc/vfstab
f /etc/mnttab

Question 412) What is the command that is used to find out the nfs resources shared by a server?
a nfshares
b nfsshares
c shares
d dfshares
e netshares

Ans: d

Question 413) Which 2 commands should be used to acquire online information about the /etc/vfstab file?
a man -s4 vfstab
b man vfstab(5)

Ans: a,b

Question 414) Which PROM command boots the system using a different file system?
a boot -a
b boot -d
c boot -f
d reboot

Ans: a

Question 415) Which of the following is the spooling directory for pending print requests?
a /var/spool/lp
b /var/lp/spool
c /etc/spool
d /etc/lp/spool
e /tmp/lp/spool

Ans: a

Question 416) What are the functions of Print Filters ?
a to identify the terminfo database entry containing the control sequences to initialize the printer
b to print forms and forms with text and graphics instead of blank paper
c to initialize a printer before sending a print job to the printer
d to convert the content of requests to the type of content accepted by the destination printer
e to track the status of every job to enable users to remove jobs and system administrators to manage print jobs

Ans: d

Question 417) Environment variables are known in all ___ created after the variable defined
a sub-shells
b aliases
c processes
d jobs

Ans: a

Question 418) Where is the ASCII definition database which describes the capabilities of terminals and printers ?
a /etc/termcap
b /usr/share/lib/terminfo
c /etc/terminfo
d /usr/lib/termcap

Ans: b

Question 419) Which directory contains the database entries that dictate the control sequences to initialize the printer?
a /usr/lib/lp/
b /etc/lp/
c /usr/share/lib/terminfo
d /etc/lp/terminfo

Ans: c

Question 420) Which command is used to build a new file system on the raw special device at c0t3d0s5?
a newfs /dev/rdsk/c0t3d0s5
b newfs /devices/rdsk/c0t3d0s5

Ans a

Question 421) Which of the following evaluate the command literally ?
a back quote (` `)
b double quote (" ")
c single quote (' ')
d parentheses (( ) )

Ans: a

Question 422) Which of the following user environment variables may be used to specify the default printer?
a LPRCONF
b PRINTERS
c PRINTER
d LPDEST
e LPDEFAULT

Ans: c,d

Question 423) Which command in PROM mode can display the default Boot device that system boot from ?
a banner
b probe-scsi
c devaliase
d printenv

Ans: d

Question 424) Which of the following command cannot be used to manipulate print requests?
a continue
b cancel
c enable
d disable
e accept
f reject

Ans: a

Question 425) Which of the following commands may be used to move a print request from one queue to the other?
a lp -c
b lp -x
c lpadmin
d lpmove

Ans: d

No comments:

Post a Comment