Sun Solaris (OS) Interview Preparation Guide

Refine your Solaris interview skills with our 64 critical questions. Our questions cover a wide range of topics in Solaris to ensure youre well-prepared. Whether youre new to the field or have years of experience, these questions are designed to help you succeed. Get the free PDF download to access all 64 questions and excel in your Solaris interview. This comprehensive guide is essential for effective study and confidence building.
Tweet Share WhatsApp

64 Solaris Questions and Answers:

1 :: What is the command to do an interactive boot from the ok prompt?

Answer: The Interactive Boot Process:
At the ok prompt, type boot -a and press Enter. The boot program prompts you interactively

Answer 2:
After Power on,
press,
STOP+A
at the ok prompt type,
ok>boot –a
Download PDFRead All Solaris Questions

2 :: Consider the following crontab entry: ?59 23 13 * 5 /wipe.disk? What time will this cronjob run?

That means: on Black Friday, your hard drive will get wiped out.

==> (on 13th and Friday) 23:59, /wipe.disk will be running________________________________________If the 13'th Day of the month is Friday, the job will run. (week day starts from Sunday day 1).

3 :: How can i disable STOP+A utility on SUN machines, which brings system into OK> prompt?

in /etc/system set abort_enable=0 will disable STOP-A ________________________________________There are several ways to disable "STOP-A"
(1)Edit the /etc/default/kbd file
KEYBOARD_ABORT=disable
(2)Use the "kbd -a disable" command
(3) Edit /etc/system file
set abort_enable = 0

4 :: How do we know how many LAN cards we have in server?

Just Type in the following command at prompt#ifconfig -a.That shall give the LAN Cards as well as total Physical and Logical IP Addresses
dmesg - It displays all configured items on systems.

5 :: What is "Piping" solaris?

piping:- sending the output of a command to the input of another is called piping.

some examples are:

$cal | wc

will output total line's,word's and character's

$cal | wc | wc

will output total line's,word's and character's

A unix pipe provides a one-way flow of data.


For example, if a Unix users issues the command
$who | sort |lpr
then the Unix shell would create three processes with two pipes between them:

A pipe can be explicitly created in Unix using the pipe system call. Two file descriptors are returned--fildes[0] and fildes[1], and they are both open for reading and writing. A read from fildes[0] accesses the data written to fildes[1] on a first-in-first-out (FIFO) basis and a read from fildes[1] accesses the data written to fildes[0] also on a FIFO basis.

When a pipe is used in a Unix command line, the first process is assumed to be writing to stdout and the second is assumed to be reading from stdin. So, it is common practice to assign the pipe write device descriptor to stdout in the first process and assign the pipe read device descriptor to stdin in the second process. This is elaborated below in the discussion of multiple command pipelines.
Download PDFRead All Solaris Questions

6 :: Where are the templates stored that are copied into the users home directories for their personal customizations?

/etc/skel

7 :: Which NFS daemons are found on the NFS server?

nfsd
mountd
lockd
statd
nfslogd

These five daemons will be in NFS server.

statd and lockd will be in NFS client too.

8 :: What SPARC emergency keyboard sequence will take the system to the ok prompt (forth monitor) but will send output to TTYA?

stop+A

9 :: What file controls system wide password aging?

/etc/shadow

10 :: Which of the following can be an appropriate name for a cluster?

SUNWadm
Download PDFRead All Solaris Questions