Search Results

Search: Posts Made By: eponcedeleonc
33,208
Posted By radoulov
Try this: ssh "$host" '/bin/gzip...
Try this:

ssh "$host" '/bin/gzip /tmp/"$(hostname)".html' >> "$PATH_TMP"/Linux_cfg2html.log

If you're using the old Bourne shell:

ssh "$host" '/bin/gzip /tmp/`hostname`.html' >>...
16,466
Posted By methyl
/usr/contrib/bin/gzip Probably not got...
/usr/contrib/bin/gzip
Probably not got directory /usr/contrib/bin in $PATH for your job. It's not in the default path. Just specify full path.
2,559
Posted By Shahul
df -h|nawk '{gsub(/%/,"");if($5>70)print}' ...
df -h|nawk '{gsub(/%/,"");if($5>70)print}'


Thanks
Sha
2,559
Posted By panyam
Something like this: df -h | awk 'NR ==...
Something like this:


df -h | awk 'NR == 1 { print ; next }
NF==6 { gsub("%",""); if ($5 > 35) print ;next }
NF==1 { gsub(" ",""); a=$0;next}
{ gsub("%",""); $1=$1; if ($4 > 35) print a"...
2,559
Posted By getmmg
How about this df -h | perl -ne 'print...
How about this


df -h | perl -ne 'print if (/(\d+)%/ && $1>70)'
2,646
Posted By ctsgnb
man paste paste -d";" file1 file2
man paste

paste -d";" file1 file2
Showing results 1 to 6 of 6

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