14,920 reputation
44384
bio website shawnjgoff.com
location Tampa, FL
age 33
visits member for 3 years, 7 months
seen Apr 15 at 15:59

I've grown up with computers around me my whole life. I started programming when I was a kid, and stuck with it ever since. I came across Linux around 1999 and have enjoyed working with it ever since.

For a job, I get to write software that runs on embedded Linux devices. I do everything from working on low-level drivers to writing shell scripts and even web apps.


Jan
21
comment Configure reboot on Linux kernel panic
Yes, I do have a watchdog. I'm just putting as many safety nets in place as possible.
Jan
20
comment Configure reboot on Linux kernel panic
grub is not on all systems; the one I'm working with is not using grub. My bootloader's config is stored in flash.
Jan
20
comment Configure reboot on Linux kernel panic
I'm looking for a kernel config option here, not something from userspace. Specifically, if for some reason, it can't mount the root filesystem (or for some other reason, userspace never comes up), I need it to reboot.
Nov
16
comment How to find a file in the filesystem from the command line?
There are options in some shells that pass the stars along to the program if they don't happen to match anything. Try creating a file in your current directory that is matched by that pattern, and try the command again.
Nov
16
comment How to find a file in the filesystem from the command line?
You need to quote or escape the *s to prevent the shell from interpreting them.
Nov
6
comment How to run a command when a directory's contents are updated?
incrond may also be of interest.
Nov
2
comment What's the difference between udev and hald?
From hal-spec: HAL can notify other peers on the message-bus when devices are added and removed as well as when properties on a device are changing.
Oct
30
comment Testing if a process is running via if and -z
Thanks, @Arcege; I edited it included `> /dev/null'.
Oct
30
comment How do I recursively delete directories with wildcard?
Make sure to either quote or escape the *, otherwise the shell will expand it, and find will not see it. And as I understood the question, you don't want to get the directories, so make sure to include ! before -type d to tell find not to match directories.
Oct
29
comment Are there any “scp -p” just like “cp -p”
I can't speak for others, but I suspect the downvotes are because this information is easily found by using man, which should be the first source of information when wanting to know more about a utility. I would encourage people not to downvote a question for that reason. See the discussion here: meta.unix.stackexchange.com/questions/203/…
Oct
29
comment Arch Linux doesn't connect to a wireless network
I find wicd gets messed up sometimes. Try restarting wicd: sudo /etc/rc.d/wicd restart.
Oct
29
comment How do I proceed further when my reports of a improper functioning of a gnome component has not met with answers on the respective mailing list
Also since it works with wvdial, it's probably not an issue with the kernel driver.
Oct
28
comment Non-blocking buffered named pipe?
What you are describing is a "ring buffer" or "circular buffer". I'm not aware of any command line tools for maintaining such a thing, although it would be trivial to create.
Oct
27
comment How can I embed subtitles into videos with ffmpeg?
Of course, ... means "and whatever other options you need".
Oct
26
comment Why doesn't the following work?: while true; do “$my_command”; sleep 1; done
It is because the shell is expecting a string, which it interprets line-by-line; just as it would when running a script from a file.
Oct
26
comment Strip trailing whitespace from files
Exactly the same way: echo "$@". Using the parameter doesn't change it in any way, so you can reference $@ (or any other parameter: positional, special or not) as many times as you want.
Oct
26
comment Reinstall or repair Network-manager-gnome in Ubuntu lucid lynx 10.04.3 LTS offline
You're likely to end up with problems like this when you add repositories that are for another distribution. If you can't find a ppa for a piece of software for your distro, it may be better to install from source or a .tgz-style package and take care of its dependencies manually.
Oct
25
comment diff where lines are mostly the same but out of order?
Pass them both through sort fist.
Oct
24
comment Why are network interfaces not in /dev like other devices?
I've seen at least one article/rant about how everything in Unix is not a file despite the mantra, and it cites this problem. I can't find it now, but it was probably an article about Plan 9 or GNU Hurd.
Oct
23
comment How can I find all ascii files under one directory that have the word shirt in them? Starting from root
Nice. It won't be faster when there are many binary files, which grep knows how to skip. @norman-gray -print0 and -0 are always necessary for scripts. They live on past the author and can give "wtf" moments when they don't work correctly.