I tried this
find /usr -name '*.html' | while read f
do sed '/hello/d' "$f" >"$f.tmp" && mv "$f.tmp" "$f"
done
and i get the following error
sed: command garbled: /var/apache/htdocs/index.html
+ read f
+ /hello/d
any ideas where im going wrong ( i put a carriage return after the first...
Hi
Is there any way from a starting directory (say /usr) to search for files with lines of text that contain the string "hello" and delete the whole line from the file (and ONLY that line)
I have a whole load of html files through a directory structure that have an unwanted line which i need...
we use NAI antivirus defence suite to roll out ePo agent and virusscan 7.1 to desktops. We have one or two machines that when booted up and after logging in, pop up with the NT4 "service failed to start, see event viewer" error. when checking the log you see....
"mcafee framework service hung...
Using ie 6 on windows XP (latest critical and windows XP on windows update) i get the following error when hitting the print button. i can print from every other application with no problems
Line 93
Char 1
Access is Denied
res://C:\WINDOWS\System32\shdoclc.dll/preview.dlg
Do you wish to...
sorry daFranze i forgot to mention, I do not want any raid on this at all, I need the full disk space. So all i want to do is create a single metadisk accross those 2 slices utilizing all available space. Also as i mentioned before it is an individual slice from each disk that i must metadisk...
Hi again
Can anyone give me some pointers on what i need to do for the follwing issue
I have 2 physical disks with slice 4 on disk1 called /data and slice 4 on disk 2 called /data1. I have been asked to create one big slice called /data that incorporates both slices. I have backed up the...
thanks for that dafranze, but i know exactly where i am with the gui, does anybody know how to launch the gui, or where its located ? or even what its called
cheers
I have a nokia IP350 and NG fp3. I wish to configure an interface (physical port on firewall) with 2 IP addresses because i will be presenting data from 2 sources at the same interface (weve run out of ports)
In voyager it seems easy enough i just added an additional IP address to the interface...
Hi There
Im not sure if this is the right forum to post in but here is my problem. i have a Solaris 9 box with 2 physical disks that i have sliced up. There are a couple of slices on each disk that i would like to amalgamate together to create one slice (metadisk) I would like to use Solstice...
long story, theres actually about 4 people use top (need to keep constant check on their processes....you say this could be causing the error,can you explain how ???
no core files at / but we use ksh profiles and there is no line to specifically restrict core dumping (unless it is the default?)
are you saying that it would potentially coredump every time the error is generated? cos that would be a lot of core's cos i have a whole dept trying to use it at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.