Link to home
Start Free TrialLog in
Avatar of nepk
nepk

asked on

website enquiry for Solaris commands.

is there any websites for Solaris commands? Please help.

Just a quick question which command I use to find out which version of operation system and send mail is running on my Solaris machine.

regards
Hussain
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Solaris command list:
http://www.ucgbook.com/index.php3?page=http%3A//www.ucgbook.com/solaris%2520commands%2520list.html

> version of operation system
uname -a
SunOS <hostname> 5.9 Generic_117172-08 sun4u ......
or
uname -r
5.9   <=== Solaris 9

Sendmail version:
/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.12.10+Sun   <=== version 8.12.10

Wesly


                             
Avatar of PsiCop
Also, for Solaris patchlevel --> showrev -p
Avatar of run_time_error
run_time_error

For useful commands check this out:
http://www.sun.com/bigadmin/shellme/index.html
For *all* Solaris documentation, go to:

http://docs.sun.com/
Avatar of nepk

ASKER

Sorry for the late reply.

All replies are correct but reply from Wesly is more appropiate.

Just a quick one and then i will award points. Just a last question.

everytime when i log into the server, I got prompt "you have new mail or you have mail". which files/folders contains all the incoming emails?

regards
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Under a default sendmail (the included MTA) installation on Solaris (at least thru Solaris 8 - I'm not 100% sure about Solars 9 and 10, altho I would be surprised if its very different for those), incoming E-Mail for users is stored in /var/mail, in one file per user, the file named the same as the user ID. So if someone logs into the machine as "bob", then if they get the "You have new mail" notification, that mail is usually stored in the file /var/mail/bob

Of course, if Bob uses procmail, and sendmail has been configured to support procmail, then the mail may not be there - a procmail recipie may have already moved it elsewhere.
Also note that the location is the *default*. There's no reason it can't be stored elsewhere, if the proper configuration steps are taken (kinda a pain to store it elsewhere, as most mail-handling programs look in /var/mail by default, and they all have to be told to look elsewhere).
Avatar of nepk

ASKER

I understood but I couldn't see any emails or users queue in /var/mail

but if my systems administrator change the default location then how can i check?. Is there any way to check the all current configuration path. which file do i have to check for path?
The original questioned is answered and verified by requester.
Please PAQ this question instead of deleting it.
My mistake on this one.

Changed recommendation: Accept wesly_chen {http:#12950574}

Venabili