What I want to do is I need to check the version of OS if it is Solaris then I need to run the command /usr/sbin/snmpd, if it is AIX then I need to run the command /usr/bin/startsrc –s snmpd. Could you please help on this.
Thanks in Avvance
Hi,
It has been long time I have scripted something. Could somebody let me know to write a script where in I have to check the version of UNIX OS, e.g if the version of unix is SUN run the /usr/sbin/* and if it is UNIX run the /usr/...
Thanks in Advance
To my understanding wdmdumpprf will dump the profile data and wdmloadprf will load the dumped profile data. Could I get more information on where the profile is dumped and where does it gets picked up by wdmloadprf
with the below code
test_file=$(zcat myname.tgz | tar -tvf - |cat /etc/inet/inetd.conf | grep lpstat)
How can i put the values from the test_file to a file incrementally.
test_file = zcat myname.tgz | tar -tvf - |cat /etc/inet/inetd.conf | grep lpstat
I want to store the output to test_file and print it.But it is giving error.
I want to write a shell script for this. I am new to shell so could anyone help with this. What i may want to do is to get the grep results in a declared variable and print it out.
Thanks
Hi,
Currently I am looking for a script where i can store the value that is the result of grep . I have tried the below for that but it is not working correctly . test_file = zcat myname.tgz | tar -tvf - |cat /etc/inet/inetd.conf | grep lpstat
My aim is to get the entry for lpstat in each...
I need to change the registry entries for .dll files. Is there a need to reboot the system or there is a command which can do this on the fly.
Thanks in advance
bas
Hi,
I am new to shell script. I have a situation where i have around 100 directories , in each directory i have a file with extension .tdz, from the .tdz file I need to extract a file called inetd.conf and put it to someother directory. Please let me know the script for this.
Thanks in Advance
Hi,
I have a condition where i have a startup script for starting a process. If the processs is not running i have to call the startup script.So, could someone tell me how to write a script to call this script and verify the startup script, then echo success if it went well else error...
Hi,
To be more concise add OPC_RESOLVE_IP x.y.z.q(ip address) of Management server in opcinfo.Once agent is added to the Management server syncronise the polocies from the task option.
bas10180
Netview comes on NT and Unix, on Unix it should be installed on Tivoli framework, but on NT it sits independetly. Installtion is simple with not much settings, once the installation is done it discovers the network automatically.
Thanks for the info, I have TSM running on Windows 2000 server. I want to automate on the w2k server for sending mail from TSM once the backup starts and gets completed.
Regards
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.