12,928 reputation
23265
bio website shawnjgoff.com
location Tampa, FL
age 32
visits member for 2 years, 8 months
seen 10 hours ago
stats profile views 445

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.


Mar
12
comment No make target “uImage” with Buildroot 2013.05
This question would work much better on the Buildroot mailing list. buildroot.net/lists.html
Mar
12
comment Is there a way to renice the network stack?
You may want to look into the realtime extensions.
Dec
6
comment Different ways to execute a shell script
@Geek when you execute a script as a child process (the normal way), any variables and functions it defines (it's environment) go away when the process terminates. If you source the script, those variables and functions are created in the current environment; when the script finishes, the changes to the environment remain.
Nov
23
comment How is the inherited file descritor vulnerability dealt with in Unices?
That makes sense, although just having close-on-exec doesn't fix the problem: you have to have the ability to request that flag from every function that returns a new file descriptor.
Oct
30
comment Make USB modem work on Puppy Linux 5.28
Got it. Then there are a couple possibilities: check that you have usb_modeswitch and the accompanying definitions to be able to switch your device (if you don't know how, submit another question). If you already have them, try manually modeswitching the modem using it - if that works, you need to add a udev rule to do it automatically. Once that's done, PupDial should see the ttyUSB port.
Oct
29
comment Make USB modem work on Puppy Linux 5.28
@maniat1k Yes - from the logs you posted, I can tell that it did recognize it as a GSM modem, so when you PupDial comes up, there should be ttyUSB1 available for you to use.
Oct
28
comment Ask root for password when using su command
@ice_mint You should answer the question with the details. Also, possibly make the question more generic so that it's more useful.
Oct
28
comment Ask root for password when using su command
Maybe the pam config could do it. I have /etc/pam.d/su on my system.
Oct
28
comment Ask root for password when using su command
Ah, I see. So you could probably exclude su from the ALL tag to make this work.
Oct
28
comment Ask root for password when using su command
I doubt this is possible, and it doesn't make sense. Why do you want root to be prompted for user1's password? It doesn't actually protect user1's account from root when root doesn't know the password.
Oct
27
comment case-insensitive search of duplicate file-names
@JamieKitson Say, what? Look again :-) I didn't know you had posted an answer other than the comment.
Oct
26
comment case-insensitive search of duplicate file-names
@derobert - that's definitely better - I've somehow blocked out that feature from my brain because it's just not available in the environment I usually use. Edited answer to include it.
Oct
26
comment case-insensitive search of duplicate file-names
@JamieKitson That will fail if you have filenames with newline characters.
Sep
26
comment How to list files and directories with directories first
You can run ls --version to find out which one you have.
Aug
29
comment tmux: execute a process in the current pane, redirecting stdio to/from the pane
I don't know how I could use that to accomplish my goal. I want to dump stdout from a command into a window, and dump the window's output into stdin of the command.
Aug
21
comment Why can't I use the REJECT policy on my iptables OUTPUT chain?
That command in the thread is incorrect; -p is for matching on a protocol; he meant -A like my answer says.
Aug
7
comment Is it possible to disable verbose in the middle of running?
@Tim I haven't found an official resource saying what it is, but from experimentation, the field on the right (that shows the command) works in bash and zsh, but not in ash. Sometimes the pid also works.
Jul
15
comment Is Linux kernel free to modify?
@PatkosCsaba Editing is encouraged on this site. If you believe it is better without it, you are free to change it. It is best if the answer contains the important relevant information - not when the information is distributed in the comments, as those are less frequently read.
Jul
2
comment Concise way to output to file if argument is given, to stdout otherwise
That's the same as @michael-mrozek's except it doesn't check for the existance of $1 before using it. Which is okay; what I really want is touch $1 &&... instead, to make sure I can create/write to the file.
Jul
2
comment shell backup script, missing `]`
Ah, that -n is part of set; the shell will pass appropriate commandline switches through set.