489 reputation
39
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 3 years, 2 months
seen 12 hours ago

Long time Linux user (currently kubuntu). Use Windows 98, and 7 when I have to. Programmed in many languages, currently using bash and awk for most things. Learning Python.

Have one project on sourceforge:

Duplex printing emulator for non-duplex printers (Linux)


Oct
7
comment What program displays volume/screen brightness under KDE?
Recently upgraded from Precise to Trusty. The bug with brightness levels not being restored when the screen turns on again appears to be fixed.
Oct
5
comment Unexpected EOF and syntax error
This looks like the cleanest answer so far. It uses select which was designed to do exactly what the OP requires. It puts the choices in an array which is a great way to handle data like this and makes it available for use elsewhere in the script. It uses break rather than exit so the script can do something else after this part is done.
Sep
24
awarded  Autobiographer
Sep
20
comment How can I have pulseaudio always load a USB soundcard as the same sink every time I boot?
The pactl and pacmd command line tools may help as well. I discovered these very recently and still don't know much about them.
Sep
20
comment How can I have pulseaudio always load a USB soundcard as the same sink every time I boot?
No idea, but it sounds like something that would be handled by udev rules - something I am just starting to look into.
Aug
30
comment What is the difference between building from source and using an install package?
@ultrasawblade - You're obviously not paranoid enough! <G> - see cm.bell-labs.com/who/ken/trust.html for the full monty.
Aug
30
comment Is there a downside to deleting all of the broken symbolic links in a system?
One more possible reason for a broken symlink: a symlink to an actual file that only exists some of the time. E.g. in a work flow with deep paths, you might have a symlink to a work file (for convenience) which is deleted when the work flow is complete, but will be recreated during the next use of that work flow. /dev/modem is kind of like that because the actual device file it points to only exists when the physical device is connected.
Aug
24
comment Why doesn't the sudo command need the root password?
Just found sudo logging in /var/log/auth.log - along with a lot of other stuff including some IPs from China trying to get root ssh access to my system - so, if you just want to see sudo, you have to filter it through grep or similar.
Aug
24
comment Coloring different sources for tail
In addition to the great answers below, you may also want to check out unix.stackexchange.com/questions/26313/colored-find-output which shows how to do much more with colorizing output files.
Aug
24
comment Why doesn't the sudo command need the root password?
I haven't explored this, but I understand one of the features of sudo that su does not have is that it (is able to?) keep a log of what commands were run by which user to make it easier to trace problems back to their sources. I just looked on my kubuntu system and do not see such a log, so maybe this is not a default behavior.
Aug
12
comment How does Linux choose which application to open a file?
+1 for mentioning the file utility. It's very handy when things don't make sense.
Aug
6
comment How to write bash script to configure my displays when HDMI is plugged in or unplugged
I just upgraded from kubuntu 12.04 to 14.04.1. I was waiting to comment because I was hoping that would help, but nothing has changed. I still have to switch audio manually. I think I'll open a new question on SE Ask Ubuntu. I don't think any audio switches. I just tried vlc, dragonplayer, and amarok.
Aug
6
comment How to write bash script to configure my displays when HDMI is plugged in or unplugged
I just upgraded from kubuntu 12.04 to 14.04.1. I was waiting to comment because I was hoping that would help, but nothing has changed. I still have to switch audio manually. I think I'll open a new question on SE Ask Ubuntu. I don't think any audio switches. I just tried vlc, dragonplayer, and amarok.
Aug
3
comment How to delete this undeletable directory?
+1 for persistence! And for thorough documentation of everything you tried. We don't usually get to see what didn't work, but it's often very valuable to know.
Jul
18
answered How can I tell if the currently executing bash script has been invoked with -x for debugging?
Jul
18
answered Why is every wifi networks' signal strength always identical?
Jul
18
comment Is it possible to define a command in bash?
Not an expert at this, but shouldn't something like this (hopefully, something more useful) be put in /usr/local/bin?
Jul
2
awarded  Curious
Jun
17
awarded  Constituent
Jun
14
comment How is file owner and group remembered for an external drive?
+1 for the chmod technique I hadn't thought of - in addition to being correct otherwise.