I need to do a substitution on a bunch of files so I tried
find . -type f -exec sed -i 's/regex/replacement/g' {} \;
But I get this error
sed: 1: "piece of file name": invalid command code .
There are no complaints when I don't pass any option, but it doesn't replace anything in that case...
I am running FreeBSD in a VM with the host OS being Windows. I mounted a folder I shared in Windows using mount_smbfs. In that folder, I have a file (a.out). When I do "cp a.out b.out" I get a "Bad address" error. Anyone have any idea why I'd get this error?
From googling around, it seems to be an issue with having Firefox3 installed (which I do) and you need Firefox2. I uninstalled FF3, but does anyone know where I can get FF2 for FreeBSD? I can't seem to find anyone that has it.
I've been trying to get Eclipse-CDT working on FreeBSD. After finally getting it built, when I go to run it, it crashes. I get this error at the command line:
/libexec/ld-elf.so.1: /usr/local/eclipse/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3349.so: Undefined symbol...
I've been following this guide http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html. When I get to the part where I run
Xorg -config xorg.conf.new
I get this gray background with a black X as my mouse cursor. At this point the only input I can do is move the cursor...
Nevermind, I had a typo. I'm forbidden from accessing portsnap1, but I can access portsnap4. But I still fail when trying to get the public key from either.
Ok, I tried doing
portsnap fetch
and it tried updating from portsnap1.freebsd.org and portsnap4.freebsd.org. Both failed and I get a DNS error if I try to go to those sites in my browser. are these invalid sites and I have to configure where it looks for the update somewhere, like I do for...
I've been trying to get any kind of gui running on FreeBSD 7.1. I'm currently working on getting KDE running. When I did
pck_add -r kde/kde-3.5.10_2
I got a bunch of warning about outdated packages. So I did
portupgrade -a
It did it's thing for a while and then starting complaining...
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.