Search Results

Search: Posts Made By: Leion
87,879
Posted By Leion
To add the body, you can try this: (printf...
To add the body, you can try this:

(printf "%s\n%s\n" "$body" "$body1"; uuencode $exp_file $exp_file) |mailx -s "$email_subject" $EmailRecipients
1,027
Posted By Leion
You may want to run your script in debug mode.. ...
You may want to run your script in debug mode..
bash -x script parameter
2,555
Posted By Leion
awk... echo '15314.6 16320.6 15813.6...
awk...


echo '15314.6 16320.6 15813.6 16835.6 19252.1 14823.5 16577.1 15068.1 13631 18158.1 17889.6 16835.6 15314.6 15314.6 16320.6 17358.6 15563.1 18158.1 18158.1 16835.6 17889.6 16577.1...
2,555
Posted By Leion
perl can do it perl -e 'print 15314.6 +...
perl can do it


perl -e 'print 15314.6 + 16320.6 + 15813.6 + 16835.6 + 19252.1 + 14823.5 + 16577.1 + 15068.1 + 13631 + 18158.1 + 17889.6 + 16835.6 + 15314.6 + 15314.6 + 16320.6 + 17358.6 +...
1,349
Posted By Leion
That is setting up a variable for the oracle...
That is setting up a variable for the oracle password.
if there does not exist that reboot file, you will run sqlplus with those hot.sql and hotback.sql scripts..
1,349
Posted By Leion
The system_reboot.flg should be a flag file and...
The system_reboot.flg should be a flag file and not a script..

this is what your script is doing:
first it sets up some variables, including the PASS, which is holding the password to log into...
26,239
Posted By Leion
Franklin52's solution works better. but i need...
Franklin52's solution works better.
but i need to use nawk in solaris to get it to work.

echo name_abc_20100531_142528.txt |nawk -F"[_.]" '{print $3, $4}'| read d t ;echo $d;echo $t



On...
26,239
Posted By Leion
cut can do it too echo...
cut can do it too
echo name_abc_20100531_142528.txt | cut -d_ -f3 | read av ;echo $av
2,703
Posted By Leion
try this ? a[] is an array keeping track how...
try this ?
a[] is an array keeping track how many times the account has appeared. if it appears the first time, we print it

awk '{account=substr($0,1,30); a[account]++; if(a[account]==1){print...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 12:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy