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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. homBase

    Pause and Resume UDP traffic by IP or hostname

    Hello, I am trying to understand how to pause messages being sent from one system via udp to another system point-to- point on a specific ip address, and resume it when needed. I was hopeing there was a system commnad I could use in a simple script. If anyone has any suggestions or wisdom...
  2. homBase

    Pause and Resume UDP traffic by IP or hostname

    Hello, I am trying to understand how to pause messages being sent from one system via udp to another system point-to- point on a specific ip address, and resume it when needed. I was hopeing there was a system commnad I could use in a simple script. If anyone has any suggestions or wisdom...
  3. homBase

    Removing files by file extension.

    Sorry I didn't place &quot;then&quot; after the if statements. printf &quot;What directory would you like to clean: \n&quot; set DIR = $< cd $DIR mkdir files while(1) if(Lp_CNT == 1) then exit; endif foreach file (*.zip) mv $file TEMP end...
  4. homBase

    Removing files by file extension.

    Here is a sample of what you could do. If you test make sure it is tested in a safe enviornment. hombase ----------------------------------------------------------- #!/bin/csh set Lp_CNT = 0; printf &quot;What directory would you like to clean: \n&quot; set DIR = $< cd $DIR mkdir files...
  5. homBase

    csh shell script to cleanup log files

    Thanks Ken and everyone else for your help, time and knowledge. Thank you! hombase
  6. homBase

    csh shell script to cleanup log files

    ALCON, What I did is applied Kencunningham's logic and created a dummy log. I guess I am at the point of saying that this is a problem within csh scripting. I will probally rewrite this in ksh.
  7. homBase

    csh shell script to cleanup log files

    Ed That is what the if statment does, it test with a condition ie.. if(-f $log && -d TEMP)then, and if the condition is true the following arguments will be executed. What it shouldn't do is bum out if part of the condition is false, it should test the 2nd condition and so on until it meets...
  8. homBase

    csh shell script to cleanup log files

    Ken I could do that, but it turn a false condition into a true condition.
  9. homBase

    problem with search and replace script

    I not sure if you or getting this form a word processor or what and bringing it up in unix. If thats the case try this: at the prompt type, dos2unix yourfilename > newfilename this remove any carriage returns or such. Peace! hombase
  10. homBase

    csh shell script to cleanup log files

    Hi all, Can anyone assit me? I wrote this script to clean up log files located in a directory called out. The script creates a directory called TEMP and moves the logs into the directory then tars the directory and compresses it. After all that is done it will remove the...
  11. homBase

    Sniffer Detection

    If your using unix try this &quot; snoop -d hme1&quot; where hme1 would be the NIC your using to interface with. Dee
  12. homBase

    Finding Processor speed and Type for an Ultra 10 , solaris 5.7

    I am trying to find the the processor speed and type for my ultra 10. I used the uname command and can't translate its returns, can you help?

Part and Inventory Search

Back
Top