Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Shell Script with AWK
Name: charlyrosario Date: June 21, 2007 at 07:27:03 Pacific OS: unix CPU/Ram: 2 G Product: HP
Comment:
I am working with Shell Script in awk and i need to use an external variable inside awk chain as follows: PhysMem=´prtconf | grep Memory | awk ' {print $3}'´ MEM=´tail -1 /tmp/.sar | awk ' $2 = int(100-($2 * 100 / $PhysMem)) {print $2}'´
Summary: Hi, I was wondering if I could compile and run simple shell scripts from windows xp. I have created a shell script with textpad but don't know how to test it. Honourable Buddha says "Shoot All Bad Pe...
Summary: I want to write shell script using 'awk and 'sed' who is logged in extract date compare the date and time now if the user is logged in more 8 hours send e-mail to a user and sysadmin ...
Summary: Please can someone help with following script , I want to pass value of variable w returned by awk script and run shell command within awk. I want to use , for example "echo w" within awk script, it ...