CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies
Solaris Interview Questions & Answers - Learning Mode
COOLINTERVIEW.COM OPERATING SYSTEMS INTERVIEW QUESTIONS SOLARIS INTERVIEW QUESTIONS QUESTIONS & ANSWERS - LEARNING MODE

Solaris Interview Questions & Answers - Learning Mode

Solaris is a Unix operating system originally developed by Sun Microsystems. It superseded their earlier SunOS in 1993. Oracle Solaris, so named as of 2010, has been owned by Oracle Corporation since the Sun acquisition by Oracle in January 2010. Solaris is the computer operating system that Sun Microsystems provides for its family of Scalable Processor Architecture-based processors as well as for Intel-based processors. Sun has historically dominated the large UNIX workstation market.

Try Solaris Interview Questions & Answers - Exam Mode

1 2 3 4 5 6 7 8 Next

Sort By : Latest First | Oldest First | By Rating

Solaris Interview Questions & Answers - Learning Mode
Try Solaris Interview Questions & Answers - Exam Mode
Question: What are the main differences between solaris 10 and 9?

Answer: The main difference in solaris 9 & solaris 10 is "SMF(Solaris Management Facility)".
In solaris 9, if any service goes down then we should restart all services this is the disadvantage.
But in solaris 10,if any service goes down then that particular service we can select and enable it instead of restarting all services. Source: CoolInterview.com
Question: What is difference between solaris single user mode and multi user mode ?

Answer: Single user mode is the character based mode, we can perform administrator task and all.

In Multiuser mode , runlevel 3 is the default run of that.We can perform all types of system functions.
Source: CoolInterview.com
Question: What is the big difference between /dev/dsk and /dev/rdsk



Answer: In Solaris whenever you create a new slice using format command a raw physical slice or a Raw Device will be created which is addressed as /dev/rdsk/c#d#s# where # is the number for slice.

After formatting it with newfs command the slice will be addressed as /dev/dsk/c#d#s# which can now be used for mounting.

eg. newfs /dev/rdsk/c0d0s4

mkdir /oracle

mount /dev/dsk/c0d0s4 /oracle

After mounting /dev/dsk/c#d#s# is called as Block Device

/d Source: CoolInterview.com
Question: What would a XIR signal do to a server and why would it be used?





Answer: XIR signal used by reset command in solaris.

reset(1M) allows you to reset one or more domains in one of two ways: reset the hardware to a clean state or send an externally initiated reset (XIR) signal. The default is to reset the hardware to a clean state. You will receive an error if the virtual keyswitch is in the secure position. An optional confirmation prompt is given by default. Refer to Chapter 6 in the System Management Services (SMS) 1.2 Administrator Guide for the Sun Fire 15K/ Source: CoolInterview.com
Question: You logged into the system using telnet.
As a system administrator, how would you figure out the system transaction is slow between the system you logged into and from the system you did telnet login?


Answer: you can simply use the time command on both systems.! For example:

time <<trans>>

out put will be like..
real 0m2.009s
user 0m0.000s
sys 0m0.000s

So, in actuality, It took a total of 2.009 seconds of my time to watch this command complete. But, as you can see, it used virtually no processing time.

For small transcation you may not find the much difference(sometimes no diff) Source: CoolInterview.com
Question: What command can you use to display all of your groups?



Answer: On AIX You can use
groups -To Display full list
id -G - To display group id number

On Solaris you can use
groups - To display full list
id -a - To diaplsy full list of groups with group id numbers



Source: CoolInterview.com
Question: What is the difference between a probe-scsi and a probe-scsi-all?


Answer:
Answer:

* Collapse/Expand Answer of Question What is the difference between a probe-scsi and a probe-scsi-all?

Both these commands are run at obp (open boot Prom) probe-scsi will probe the internal scsi and probe-scsi-all will probe both internal and external scsi.

Maybe not the best explanation but not bad...
________________________________________
The probe-scsi command communicates with all SCSI devices connected to on-board SCSI controllers.

The pro Source: CoolInterview.com
Question: What is difference between Process and Daemon in Solaris?


Answer: A 'daemon' is a software process that runs in the background (continuously) and provides the service to client upon request. For example named is a daemon. When requested it will provide DNS service. Other examples are:

xinetd (it is a super-daemon, it is responsible for invoking other Internet servers when they are needed)
inetd (same as xinetd, but with limited configuration options)
sendmail/postfix (to send/route email)
Apache/httpd (web server)
'server process Source: CoolInterview.com
Question: How would you find out what version of Solaris is currently running?


Answer: Run the command showrev. There's a man page on showrev and there are switches to help you do whatever you're trying to do
________________________________________
Uname -r is the command to know the version of the OS and uname -s for the type of OS.
Source: CoolInterview.com
Question: What field will cause the message Your password has expired to be displayed to the user?



Answer: The /etc/shadow file contains following fields.Login-id : Which indicates the username of that perticular user.Passwd : It Contains encrypted password.Lastchg : Indicates the number of days between 1-JAN-1970 and last passwd modification date.Min : Contains minimum no of days required between password changes.Max : Contains the maximum no of days the password is valid before the user's propted to enter a passwd at login.Warn : Contains the number of days the user is warn before the password Source: CoolInterview.com
Question: What file controls system wide password aging?



Answer: /etc/shadow
Source: CoolInterview.com
Question: What does reboot ?r do?

Answer: reboot -r (reconfigure the /dev & /devices) Source: CoolInterview.com
Question: How to restore a corrupted file system or trouble shoot bad super blocks for a FS c0t2d0s5

Answer: get into single user mode from ok prompt by using the command below.
boot -s
use the newfs command to check the number of back ups for the superblock used.
use newfs -N to display the value for /dev/dsk/c1t1d0s0 as below.
newfs -N /dev/dsk/c1t1d0s0
use fsck command to fix the superblocks as below
fsck -F ufs -o b=75680 /dev/rdsk/c1t1d0s0

Now the blocks are replaced get to multiuser mode using init 3
server should boot fine. Source: CoolInterview.com
Question: Where are the templates stored that are copied into the users home directories for their personal customizations?

Answer: /etc/skel Source: CoolInterview.com
Question: How would you find out what version of Solaris is currently running?






Answer: Run the command showrev. There's a man page on showrev and there are switches to help you do whatever you're trying to do Source: CoolInterview.com
Question: what file do you modify to change the mail alises (give full path)?

Answer: /etc/mail/sendmail.cf Source: CoolInterview.com
Question: Explain about the command ls?

Answer: Ls command gives a way to the main directory and also gives access permissions for files in Solaris. It displays and prints user and group ownerships, file access permissions, filename and files size and creation date. Source: CoolInterview.com
Question: How do we know how many LAN cards we have in server?

Answer: 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. Source: CoolInterview.com
Question: How to install win xp after installing solaris for dual booting.

Answer: I think "if you first installed Solaris then try to install XP, XP will overwrite the Solaris.Becoz XP is single boot, It is better to install XP first then install Solaris.."

Simple funda is First install Workstation then install Servers.. Source: CoolInterview.com
Question: Which obp command has a premenent allais?



Answer: When NValias need is:

In case system can not boot from primary disk and it is needed to make another boot disk to access the data , nvalias command is used.



nvalias command makes the device alias and assigns an alternate name to a physical disk. Physical address of target disk is required which can be had by show-disk command on ok>.



ok> nvalias disk7 /iommu@f,e0000000/sbus@f,e0001000/dma@3,81000/esp@3,80000/sd2,0


The new aliased disk can Source: CoolInterview.com

1 2 3 4 5 6 7 8 Next



India News Network
Latest 20 Questions
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
"Holiday Packages" announced as an advertisement are an example of _________: (a) Offer (b) Counter Offer (c) Invitation to Offer (d) None of the above
A match fixing contract between a player and a broker is a: (a) Valid Contract (b) Unenforceable Contract (c) Void Contract (d) Illegal Contract
When a bookseller sells a book on cash payment then it is called as ___________: (a) Unilateral Contract (b) Bilateral Contract (c) Executed Contract (d) Executory Contract
____________ agreements are created by situation: (a) Written (b) Oral (c) Void (d) Implied
Cache = 0.015625 Seconds