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