Search Results

Search: Posts Made By: enator45
5,473
Posted By enator45
even better. thanks again.
even better. thanks again.
5,473
Posted By enator45
thank you so much, works perfectly like this... ...
thank you so much, works perfectly like this...

echo `grep ",.*free mem," testlog.txt` | nawk '$1~ "^Memory"{print $5}'

I'll have to learn nawk and awk
5,473
Posted By enator45
How do I pull a substring out of a file?
I'm new to shell scripting and am trying to write a small script that pulls a substring out of a file that has a few lines of text in it. The file will eventually have a lot of text, I just put a few...
1,727
Posted By enator45
yes, this I've been able to figure out. Though, I...
yes, this I've been able to figure out. Though, I don't quite understand the need to use cat in your moderate example.

After googling for a while, I figured I could pull out just the string...
1,727
Posted By enator45
searching a log file and appending to a .txt file
I'm new to shell scripting and am writing a script to help me log the free memory and hd space on a server. As of now, the script just runs 'df -h' and appends the output to a file and then runs...
4,568
Posted By enator45
Sorry about that, should have included it... ...
Sorry about that, should have included it...

Solaris v.10
4,568
Posted By enator45
script to log free mem and disk space
I'm just learning shell scripting and am new to Unix/Linux. For the past week I've been logging how much free mem is on my server by using the
'$ top' command, and the free disk space in a few...
Showing results 1 to 7 of 7

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