Search Results

Search: Posts Made By: Annihilannic
Forum: What is on Your Mind? 09-21-2009
12,893
Posted By Annihilannic
Why did that require a restore... what did it do?
Why did that require a restore... what did it do?
9,094
Posted By Annihilannic
I that seems normal when there are no files that...
I that seems normal when there are no files that match the first parameter, so you should probably test for their existence before attemping to symlink.

Personally I'd stick with the for loop...
9,454
Posted By Annihilannic
I think you mean "||", not "&&". Why are you...
I think you mean "||", not "&&".

Why are you writing it in shell script? The MySQL language is quite powerful, you could just do something like "insert into newtable select address from...
9,094
Posted By Annihilannic
How did they fail? Was there an error message?
How did they fail? Was there an error message?
Forum: Web Development 09-10-2009
5,186
Posted By Annihilannic
You can use sudo to do that (see man sudo).
You can use sudo to do that (see man sudo).
1,721
Posted By Annihilannic
Why do you have so many quotes, is it because you...
Why do you have so many quotes, is it because you are trying to write the code in-line in a shell script? This may cause some unexpected behaviour... at the very least you should probably use single...
2,487
Posted By Annihilannic
Many mail commands suppiort the -r <from_address>...
Many mail commands suppiort the -r <from_address> option, does yours?

You can uuencode the individual attachments and include them in the message body, something like this:

(
uuencode...
9,454
Posted By Annihilannic
What's the problem with your existing code? Is...
What's the problem with your existing code? Is it not working as you expect?

I presume for the second example you meant to insert into the "hotmail_email" column, not "yahoo_email".

I would do...
6,570
Posted By Annihilannic
Why do you want to do it this way? It seems like...
Why do you want to do it this way? It seems like a dishonest way to deal with your users, in my opinion. Why not simply deny them access if they fail authentication?
2
12,773
Posted By Annihilannic
You can specify an interval and count on the end...
You can specify an interval and count on the end of the prstat command-line, however an easier way to do this would be:

ps -o nlwp -p <pid> | tail -1
1,517
Posted By Annihilannic
You can do this easily in awk. Just save the...
You can do this easily in awk. Just save the value of the last field in a variable, and if it is still the same when you read the next line, do not print the last field.
Forum: AIX 09-10-2009
3,958
Posted By Annihilannic
Does it come up when you use SSH on its own? ...
Does it come up when you use SSH on its own?

Does the format of the key file look okay to you? How did you generate the keys?
Forum: What is on Your Mind? 08-09-2009
30,229
Posted By Annihilannic
Hmm... I've only just finished Diablo II...
Hmm... I've only just finished Diablo II recently. :-) Pushover sounds interesting - it isn't one I've heard of, and the description over at Mobygames is terrible. Is it like arranging dominoes so...
3,958
Posted By Annihilannic
Strange to ressurrect such an old thread that the...
Strange to ressurrect such an old thread that the OP seems to have disappeared from anyway...

Linux does not expect an MBR. In fact, by default, when you initialise disks for use by Veritas...
4,640
Posted By Annihilannic
My apologies, I replied in haste... your answer...
My apologies, I replied in haste... your answer is correct. I misread -L as -l (I didn't know about the -L inverse feature in GNU grep).
4,640
Posted By Annihilannic
Why reply to a thread that is 10 months old,...
Why reply to a thread that is 10 months old, which has already been answered, and give the wrong answer???
27,506
Posted By Annihilannic
That's a much simpler problem than the original...
That's a much simpler problem than the original question; you know exactly what you're searching for so it's just a search and replace. What have you tried and in what way did it fail?
22,329
Posted By Annihilannic
From man mail on SLES 9: -r address ...
From man mail on SLES 9:
-r address
Sets the From address. Overrides any from variable
specified in environment or startup files. Tilde
...
11,767
Posted By Annihilannic
Is that better somehow vger? I think you meant...
Is that better somehow vger? I think you meant $2 == "F=" in there...
31,347
Posted By Annihilannic
Try this: ssh root@${i} 'echo "Server1"...
Try this:

ssh root@${i} 'echo "Server1" >>file'

The single quotes "protect" the command and its redirection so that it is not evaluated by the local shell.
11,767
Posted By Annihilannic
Radar's solution (and the subsequent variations)...
Radar's solution (and the subsequent variations) should work regardless what the number is... does it not? If not, what happens?
4,088
Posted By Annihilannic
Perhaps use ps -o rss -p <pid> instead?
Perhaps use ps -o rss -p <pid> instead?
22,329
Posted By Annihilannic
Perhaps your MailTo.txt file contains a blank...
Perhaps your MailTo.txt file contains a blank line?

Since you can specify multiple email addresses on the command line, why not just:

mail -r prashant.aggarwal@xx.com -s "The CBE Alert...
11,767
Posted By Annihilannic
I think vger's point is that awk can do that bit...
I think vger's point is that awk can do that bit too:

awk '/1 F=/ { print $3 }' testfile.txt
Forum: Linux 02-06-2009
9,154
Posted By Annihilannic
If you capture all of the output of the tar...
If you capture all of the output of the tar command, you will see that there are some errors or warnings at some point during the process.

That message is just there to tell you that you might...
Showing results 1 to 25 of 500

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