Search Results

Search: Posts Made By: Dave Stockdale
2,365
Posted By Dave Stockdale
Thanks for your help rhfrommn. I couldn't find...
Thanks for your help rhfrommn. I couldn't find anything useful in those locations, and sar isn't configured, but I'll look up how to do it for next time. I've also turned the reporting on SSH up. It...
2,365
Posted By Dave Stockdale
Ah, yes. That was daft of me. Redhat Enterprise...
Ah, yes. That was daft of me. Redhat Enterprise Linux 5.

uname -a gives:
Linux <SERVER ADDRESS> 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

[EDIT] Oh, And if it...
2,365
Posted By Dave Stockdale
General Unix Error Logging?
Yesterday evening my server appeared to fall over. I couldn't copy (scp) files to it, and I couldn't SSH to it either. Every time I tried, it just gave me this message:

Read from remote host <IP...
14,879
Posted By Dave Stockdale
Ok, thanks. I've made these changes. It...
Ok, thanks.

I've made these changes. It still takes a little while to complete, but this is due to the number of PDFs that aren't linked to more than anything else.

After the first time this...
14,879
Posted By Dave Stockdale
Hi, I've solved the problem. More or less....
Hi,

I've solved the problem. More or less. This is what I went with for my shell script. It is probably far more complicated than it needs to be, but for my first shell script that isn't a basic...
14,879
Posted By Dave Stockdale
Thanks for your reply Era. I think I've got...
Thanks for your reply Era.

I think I've got my list together now.

I established the list of all PDFs linked to using:

find . -name "*.htm*" -exec grep -o "[a-zA-Z0-9_]\{1,\}\.pdf" {} \; >...
14,879
Posted By Dave Stockdale
Speeding up a Shell Script (find, grep and a for loop)
Hi all,

I'm having some trouble with a shell script that I have put together to search our web pages for links to PDFs.

The first thing I did was:

ls -R | grep .pdf > /tmp/dave_pdfs.outWhich...
Showing results 1 to 7 of 7

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