Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bas1080

  1. bas1080

    Shell Script ..help

    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
  2. bas1080

    Shell Script ..help

    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
  3. bas1080

    wdmdumpprf nad wdmloadprf ..what do they do

    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
  4. bas1080

    list tgz files

    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.
  5. bas1080

    Want to find a line in a file and print the output

    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.
  6. bas1080

    Want to find a line in a file and print the output

    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
  7. bas1080

    Want to find a line in a file and print the output

    How can i find a line in a sequence of files and print the output to another file. Thanks in Advance
  8. bas1080

    list tgz files

    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...
  9. bas1080

    list tgz files

    thanks for the reply. If i want to filter out just one file out of the list of files, how can i go about. Thanks in advance.
  10. bas1080

    list tgz files

    Is there a way to list the contents of tgz files.
  11. bas1080

    Registry changes need a reboot?

    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
  12. bas1080

    Need a script for retreiving the files with content

    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
  13. bas1080

    Inquiry in Tivoli Monitoring !

    yes, you can do that for a particular servers with respect to groups. There is a criteria to create seperate console. Check out.
  14. bas1080

    Tivoli monitoring

    did you install distributed monitoring on the Endpoint Gateway. The Dm profiles get pushed to the server only when DM is installed on the Gateway. Bas
  15. bas1080

    What is VCS used for in solaris systems

    What is VCS used for in solaris systems. Thanks Bas

Part and Inventory Search

Back
Top