7,474 reputation
32037
bio website mattdm.org
location Somerville, MA
age
visits member for 2 years, 6 months
seen 20 hours ago
stats profile views 564

I'm the Fedora Cloud Architect at Red Hat.

I've been using Linux and Unix professionally since 1995, mostly in Linux-related sysadmin/systems architect jobs supporting academia. I generally know my stuff, but am very happy to learn something new and to be corrected when I'm wrong.

Fedora Cloud


Feb
18
answered Why does Linux scale so well to different hardware platforms?
Feb
18
comment Does bash support forking similar to C's fork()?
Well, if "Forking is spelled &" were a true statement, you could put & on a line by itself. But you can't. It doesn't mean "fork here". It means "execute the preceding command in the background in a subshell".
Feb
18
comment Does bash support forking similar to C's fork()?
(I think after your edit we're basically saying the same thing, although from a different direction.)
Feb
18
comment Does bash support forking similar to C's fork()?
@Gilles — that's an implementation detail because echo is a builtin. Try it with /bin/echo and of course there is an exec. But I don't mean literally; I mean conceptually. You can't fork and continue from there without giving some command — it just doesn't work like that.
Feb
18
comment Does bash support forking similar to C's fork()?
@Gilles: The bash control operator & starts a subshell in which the given command is executed. Fork + exec. You can't just put & with no preceding command to execute.
Feb
18
comment Does bash support forking similar to C's fork()?
But that's basically "fork + exec", not just fork.
Feb
18
answered Does bash support forking similar to C's fork()?
Feb
18
revised Why do some regex commands have opposite intepretations of '\' with various characters?
added 678 characters in body
Feb
17
revised Why do some regex commands have opposite intepretations of '\' with various characters?
added 324 characters in body
Feb
17
answered Why do some regex commands have opposite intepretations of '\' with various characters?
Feb
17
comment Faster way than ping for checking if computer online?
They're pretty small; there's a default of 56 data bytes, which you could reduce. But in any case, it's smaller than the ethernet MTU and bigger than nothing, so it comes down to "one packet" either way.
Feb
17
comment Dual-boot OS X and Fedora
I have Fedora 14 dual booting on an older Mac, using rEFIt. It works fine. Have you tried reinstalling Fedora since you set that up? That'd be my next step.
Feb
17
comment Simple example of using Fedora alternatives to install old version of make
+1 for "the right answer is don't do this".
Feb
17
comment Execute a command once per line of piped input?
like, "the specific circumstances which give the right answer to the question". :)
Feb
17
comment Faster way than ping for checking if computer online?
I'll be shocked if sending a smaller packet makes a difference.
Feb
17
comment Run process with higher priority
Mentioning the io scheduler classes is good, because that's likely to be a big factor. Worth nothing that for the middle -c2 scheduling class, processes are by default sorted by the nice level, so the example command you've given is really not necessary. One could try putting mplayer in the -c1 realtime class. (With root access.)
Feb
17
answered Run process with higher priority
Feb
17
comment How to run a shell script containing an awk command
In general, if something is giving you an error, it's really helpful if you copy the exact error into your question.
Feb
17
comment Difference between ' and " on command line (bash)?
A great example of why it's counter-productive for there to be an ubuntu-specific site.
Feb
17
comment What file systems on Linux store the creation time?
But note that due to how files are handled by many programs, that creation time value may not be useful.