Forum: Shell Scripting Dec 18th, 2008 |
| Replies: 5 Views: 1,745 Hey there,
Just a word of practical advice. If you really "need" a solution and don't have time to wait for someone else to take of their own time to help you with your problem, try doing a... |
Forum: Shell Scripting Dec 17th, 2008 |
| Replies: 3 Views: 1,221 Hey There,
Unless it's a permissions issue (where you can't delete the folders as the user that runs the batch file) is it possible that you're trying this at the command line as proof-of-concept... |
Forum: Shell Scripting Dec 3rd, 2008 |
| Replies: 10 Views: 2,412 Hey there,
You could also just slap it all together on one line and forget about the output file. Try this and let me know if I fat-fingered any of it - this should all be one line if it gets... |
Forum: Shell Scripting Aug 31st, 2008 |
| Replies: 6 Views: 1,566 Guess I got mislead by the error message.. :) I'm surprised a script with so many errors didn't generate a much different one other than unexpected EOF ;)
,Mike |
Forum: Shell Scripting Jul 20th, 2008 |
| Replies: 5 Views: 1,185 Hey There,
Inside the double quotes, in your test statement, the single quotes are being treated as literal characters in the value of the filename variable:
If you just change
to |
Forum: Shell Scripting Jul 17th, 2008 |
| Replies: 4 Views: 1,053 Hey There,
I'm using FreeBSD 4.1 right now and got it to work by just wrapping the regular expression in quotes. It may be that your shell is interpreting the * character before it passes it to... |
Forum: Shell Scripting May 23rd, 2008 |
| Replies: 4 Views: 2,099 Hey There,
Bash doesn't natively support sockets programming, like in Perl. Are you looking to write a bash script that runs a separate "http server" program?
Also, if you've already gotten... |
Forum: Shell Scripting May 21st, 2008 |
| Replies: 3 Views: 1,190 Here's another good Tutorial Linkl (http://steve-parker.org/sh/sh.shtml) . It has a section at the end with practice questions, assignment, problems, etc
Best wishes,
MIke |
Forum: Shell Scripting Feb 18th, 2008 |
| Replies: 10 Views: 4,159 Hey There,
You're actually pretty close on numbers. For instance, your sar -r shows:
10:07:46 freemem freeswap
10:07:47 165228 7189814
10:07:48 165228 7189814
with freemem being 165228 x... |