Solaris latest


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris latest
# 1  
Old 02-10-2013
Solaris latest

Am new to using Solaris. I wanna know about some of highly re usable and powerful scripts in tcsh. A kind of generic scripts.
can anyone please help me out with any links or functions ??
Thanks in advance
# 2  
Old 02-11-2013
Is there a specific reason why you want to use tcsh? Most system administrators have long moved on from using csh or tcsh.
This User Gave Thanks to fpmurphy For This Post:
# 3  
Old 02-16-2013
Thats because there are some large piles of functionality and they dont have the idea of switching over.
So i just wanna know about it. Can you pls help me out with some of generic functions and complex re usable codes that you are aware of ..
THANKS A LOT IN ADVANCE AND FOR YOUR RESPONSE !!
# 4  
Old 02-16-2013
Quote:
Originally Posted by Rahul619
Thats because there are some large piles of functionality and they dont have the idea of switching over.
So i just wanna know about it. Can you pls help me out with some of generic functions and complex re usable codes that you are aware of ..
THANKS A LOT IN ADVANCE AND FOR YOUR RESPONSE !!
If you know how great it is, why don't you know how to use it?

Listen, there's a reason most people have moved on. If you take some time to ask a few questions about why instead of making statements you can't backup, you'll get a much better response.
# 5  
Old 02-16-2013
Even for non-csh shells it is hard to find a list of re-usable functions.
Here is one:
Code:
getdnsdomain() {
while read w1 w2 junk
do
 case $w1 in
 domain) dom=$w2; break;;
 search) dom=$w2;;
 esac
done < /etc/resolv.conf
echo "$dom"
}

Once defined one can run it by command
Code:
getdnsdomain

But tcsh/csh does not even have a "function" or "subroutine"...
# 6  
Old 02-16-2013
Quote:
Originally Posted by Rahul619
can anyone please help me out with any links or functions ??
Here is the only link you should read about (t)tcsh: Csh Programming Considered Harmful
# 7  
Old 02-18-2013
THANKS EVERYONE FOR UR RESPONSE !!
sO WHAT WOULD BE YOUR FINAL ADVICE ?? WHICH SCRIPT IS BETTER ON A BIG PICTURE ?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 SRU latest version

Hi During a host review session I was told to check if the engineers have been updating Solaris 11 OS regularly by verifying the SRU version of the system. However i was having no luck in finding the latest SRU version number in oracle website for hours. I wonder did anyone here know where i... (4 Replies)
Discussion started by: kaze
4 Replies

2. Solaris

Solaris latest CPU patch graphics/gui issue

We just installed the latest Oracle Solaris 10 Sparc 64-Bit CPU patch (10/2012) and we are no longer able to access the GUI or the console after the OBP. We believe that this is a graphics issue. It has affected out t2000 xvr-200 graphics server and also out v440 xvr-100 graphics server. We are... (2 Replies)
Discussion started by: topper24501
2 Replies

3. UNIX for Advanced & Expert Users

Getting Latest files

Hai I wolud like to know how to get the latest files. ex: file_ssss_00 file_ssss_01 i need to get file_ssss_01 files only. (in Unix script) Please give some idea ... (2 Replies)
Discussion started by: raju4u
2 Replies

4. Solaris

Roll back latest Solaris Patches

Is there an easy way to roll back or uninstall the latest Solaris patch cluster? I'm hoping I don't have to go into each patch that was applied and uninstall them one-by-one. Thanks! (0 Replies)
Discussion started by: bluescreen
0 Replies

5. UNIX for Advanced & Expert Users

how can i know the latest update packages i have installed on solaris 9 ???

i want to know the update packages that i have installed on my solaris 9 (2 Replies)
Discussion started by: MONMON
2 Replies

6. Shell Programming and Scripting

To get the latest file

Hi Experts Team, I wish to store the latest file name of partcular pattern in the remote server in a variable. i tried this LATEST_FILE=`ssh ${USER_ID}@${REMOTE_HOSTNAME} 'ls -t ${SOURCE_DIRECTORY}/${SOURCE_FILEPATTERN}'` but its nt working..pls guide me.. Regards, Kanda (2 Replies)
Discussion started by: spkandy
2 Replies

7. Solaris

Who has "Solaris 10 Advanced System Administration(SA-202-S10)" latest revision doc?

Dear All, I am going to examine SA202 but I got SA-202-S10 revision A.1 so it might be out of date. Who has "Solaris 10 Advanced System Administration(SA-202-S10)" latest revision document? Could you share it ? Thank you in advance (2 Replies)
Discussion started by: unitipon
2 Replies

8. Solaris

"NO HARD Disks found" while installing Solaris 10 (latest-6/06) on Poweredge 2950.

We get the error "NO HARD Disks found" while installing Solaris 10 (latest-6/06) on Poweredge 2950. We found that the LSISAS1068 driver is needed for this. But the provision is given only to install the driver using the floppy (in downloads site). But we dont have a floppy drive in our system... (12 Replies)
Discussion started by: S.Vishwanath
12 Replies

9. Solaris

what is the latest release of Solaris 9?

I have 8/03 here, i thought i had a newer one? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
Login or Register to Ask a Question