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

    removing extra space characters

    But that will eliminate all the spaces where I need one to exist in the second character spot.
  2. buzzcasper

    removing extra space characters

    Here's an example of what data I'm trying to work with: s 835977258 s 262188 q 640942125 q 1348337710 q 126091311 m 26219 m 1343881270 m 134859986 I'm looking to remove the extra spaces between the first character and the second field pid id. I'm still researching my options...
  3. buzzcasper

    need help removing files

    The command "find /tmp -name "pri*_dumptrace*" -prune -mtime +7 -exec rm {} \;" didn't seem to work; the search still descended into the subdirectories giving me permission errors for the subdirectories I shouldn't be able to get into.
  4. buzzcasper

    need help removing files

    Here's the code I'm currently using: "find /tmp -name "pri*_dumptrace*" -mtime +7 -exec rm {} \; -print" I want to know if there's a way I can stop this command from going into the subdirectories of the /tmp directory that I don't have access to get into (the command tries...
  5. buzzcasper

    IF-THEN script not working

    echo "***************************************************\n" echo "******** Oracle Backup Status *********************\n" string1=`tail -n1 /home/fnsw/alert_MINN.log` echo $string1 if [ $string1 = "Completed: ALTER DATABASE BACKUP CONTROLFILE TO '/fnsw/local/"] then...
  6. buzzcasper

    IF-THEN script not working

    I was kind of guessing that part for the IF statement but then what's the command to set the string1 variable. Here's my script: echo "***************************************************\n" echo "************ Oracle Backup Status *****************\n" string1='tail -n1...
  7. buzzcasper

    IF-THEN script not working

    I don't know why I can't get this but I'm trying to do a comparison of two text strings. The first string is known as "Completed: ALTER DATABASE BACKUP CONTROLFILE TO '/fnsw/local/". The other string is being pulled from a log file and I'm just trying to compare the two. I started...

Part and Inventory Search

Back
Top