April 7, 2009

Linux \ Solaris Interview Question – 14


Question 326) What is the name of the print service scheduler?
a prtsched
b printsched
c lpsched

Ans: c

Question 327) In which order Bourne shell execute during login ?
a /etc/default/profile, $HOME/.profile
b $HOME/.profile, $HOME/.login
c /etc/profile, $HOME/.profile
d /etc/profile, $HOME/.login

Ans: c

Question 328) The Solaris supports what type of printing environment?
a homogenous
b heterogeneous
c hetero

Ans: b

Question 329) Which of the following files are used to control access to the at command?
a /usr/lib/cron/at.allow
b /etc/cron/at.allow
c /var/spool/cron/atjobs/at.allow
d /var/spool/cron/atjobs/at.deny

Ans: a

Question 330) Which command shows the users that have logged off the system?
a who
b last
c whodo
d id

Ans: b

Question 331) What is the lp command used for?
a to print ASCII or text files .
b to set up a line printer.
c to switch default printers.

Ans: a

Question 332) Which of the following types of file systems can be checked using the fsck command?
a S5
b UFS
c TMPFS
d HSFS

Ans: a,b,d

Question 333) lpstat -d meAns:
a delete a printing request
b show default printer
c print a file
d show printing requests on destination printer

Ans: b

Question 334) What's the meaning of the command chmod 4750 filename ?
a set UID
b set GID
c set stick bit
d unset UID

Ans: a

Question 335) What command is used to diplay the print queue?
a lpstat
b lpqueue
c lprint

Ans: a

Question 336) What command to boot from cdrom
a boot cdrom from prompt
b boot cdrom from o.k prompt

Ans: b

Question 337) What command is used to cancel a specific printer request waiting in the queue?
a cancel
b stop
c halt

Ans: a

Question 338) After reading and quitting from mail, the mail file is saved in
a mbox
b inbox
c .mailx

Ans: a

Question 339) A (blank) is a named group of printers created with the lpadmin command?
a group
b set
c class

Ans: c

Question 340) A user logs into a system running the Solaris 8 Operating Environment using the telnet command The user has been assigned a bourne shell (sh) and home /home/user/ directory. All of the following files exist with appropriate ownership and permissions. Which 2 files
are used to initialize this user's session?
a /etc/profile
b /home/user/.profile

Ans a,b

Question 341) What is the lpmove command used for?
a To move selected print request from one printer to another.
b To move printers from one queue to another.
c To form feed the line printer.

Ans: a

Question 342) Which command enables you to list, but not retrieve the contents of a tape archive copied to the default tape device /dev/rmt/0?
a tar tf /dev/rmt/0
b tar cf /dev/rmt/0
c tar xf /dev/rmt/0

Question 343) What command searches the specified directory hierarchy for files that match the search criteria?
a where
b find
c search

Ans: b

Question 344) Which command shows the last reboot time?
a boot -t
b who -r (I think This is Correct)
c uptime
d who -b

Question 345) What does the ps command do?
a list post script printers.
b list the processes currently running on the system.
c list all available printers.

Ans: b

Question 346) What is the task of the at command?
a execute a command or script at a specific workstation.
b execute a command or script at the server.
c execute a command or script at a specified time

Ans: c

Question 347) What command copies files between hosts ?
a rcp
b rsh
c ftp
d telnet

Ans: a,c

Question 348) Enables more than one process or application to be used at a time
A Multiuser
B Multitasking
C Distributed Processing.
D Timesharing

Ans: b

Question 349) The option used to duplicate user id
a -d
b -i
c -u
d -o
e -id

Ans: d

Question 350) What command can display default boot device?
a devaliase
b printenv
c probe-scsi
d default

Ans: b

No comments:

Post a Comment