479 reputation
38
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 3 years
seen yesterday

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)


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
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?
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.
Jun
1
comment “tree” command output with “pure” (7-bit) ASCII output
Thanks for the question. I needed this so I could pipe the output of tree into enscript to get contol of the print formatting (using dprint/dprintm from my duplexpr package sourceforge.net/projects/duplexpr/.)
May
25
comment An alternative to `xdotool type`
Since you were using xdotool, you are in a gui, but it would help to know what distro and desktop environments you are using.
May
24
comment Why does selecting text only “copy” it (as in copy and paste) circumstantially?
Not an answer, but using Ctrl-C and Ctrl-V will do as a workaround in many situations (except in a terminal like konsole where Ctrl-Shift-C and Ctrl-Shift-V are used.)
May
16
comment Is it OK to use “.” to run files instead of source - in .bashrc in Ubuntu and OS X?
Although this answer explains why using . is usually "better" than using source, as @abonet says, source is a lot easier to search for. Since periods are punctuation in many languages, it's easy for the eye to just skip over them. That's why I prefer to use source.
May
16
comment Automatically printing images with added captions
That doesn't help me with my current task, but it's lovely as a quick viewer in a directory. I'm not sure how I would use the saved arguments from history though.
May
14
comment Automatically printing images with added captions
Never saw that one before (as usual!). It's kind of awkward to use, but it does work without any scripting. I can tell it to generate an index print jpeg with file name captions and then print that. It has a lot of options, so it may take awhile to figure out the best ones. My distro had an old version. The new one was easy to compile and install. Thanks for answering such an old question!
May
6
comment How can force my screen to unblank?
No idea, but I assume you've gone into your power management setup and turned off the scenarios that turn the screen off after a period of time of inactivity to save power.
Mar
9
comment Quoting within $(command substitution) in Bash
Yes. What are we going to do with those "other people"? <G>
Mar
8
comment Quoting within $(command substitution) in Bash
This is a good question, but given all the issues with embedded blanks, why would you make life hard on yourself by using them on purpose?