479 reputation
38
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 3 years
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
20
comment What is the purpose of the lost+found folder in Linux and Unix?
+1 for great explanation. Also, I had never heard of mklost+found. I'm off to man
Oct
20
comment How to run a command without hitting Enter Key?
@user13107 Not so much historical as just the ASCII code definition itself. When ASCII was pretty much all there was (unless you were in IBM land) the Return and Linefeed keys had to be coded as something so we could type them on our trusty ASR-33 teletypes or our punch cards. There's even an ascii package you can install that will display it. The Ctrl key just took the code for one of the first 32 characters and set one bit back to 0. For M, it changed a 4D to a 0D which is a carriage return (and there really was a carriage on an ASR-33.)
Oct
13
comment Linux program to look into what you're downloading
With top, iftop and nload, information changes rather quickly. Aside from altering the display update frequency, can you give any tips on how to assimilate this information - especially when you're not in the habit of looking at such things all the time?
Oct
3
accepted Does the filesystem influence flash drive speed?
Sep
28
comment Execute a command before shutdown
I just took a look at the skeleton file in init.d (kubuntu precise) and got a bit intimidated. I just want to add a couple of commands that echo the date of shutdown into a file under /var/log. Can I just do that or do I have to deal with some of the other things in the skeleton file?
Sep
28
comment Does the filesystem influence flash drive speed?
Lots to digest in those links. It looks like it does make a difference, but as both answers so far point out, the effect is probably much smaller than throughput constraints.
Sep
25
asked Does the filesystem influence flash drive speed?
Sep
14
comment Why updating a running Linux system is not problematic?
@Nils I'm no expert, but if you run out of cache, wouldn't it be written to swap and reread from there? If that was full then some process would probably be blocked before it could take memory away from another process that is already using it.
Sep
14
comment How to grep a specific line _and_ the first line of a file?
+1 for all the great answers this generated!
Aug
28
awarded  Yearling
Aug
11
comment Can I configure bash to execute “clear” before every command typed in the console?
Just curious: What's you application for this? Except when I'm debugging programs with a lot of output, I usually want to keep as much as possible on the screen to help me keep track of the context I'm working in.
Aug
10
comment Which extension to use for text files? (Unix/Linux)
Under KDE, dolphin will often appear to use the extension to select an appropriate icon for the file and sometimes the program that displays it. As others have noted, this is dolphin just trying to be helpful in an ambiguous situation, not some rule or convention in Linux.
Aug
10
comment Can I configure bash to execute “clear” before every command typed in the console?
Gilles: I pasted the above into a konsole terminal and the output from each command I subsequently entered got cleared before I could read it. Am I missing something? Also, what happens for this (and the other answer below) if I invoke a multi-line bash script where more than one line (or any line other than the last one) generates interesting output?
Aug
5
answered Archlinux gizmod
Jul
27
comment File is mysteriously empty. Options to recover?
Look in ~/.openoffice.org/3/user/backup/ or ~/.libreoffice.org/3/user/backup/ I wrote a script to clear these directories so that sensitive things I deleted weren't still there.
Jul
27
comment File is mysteriously empty. Options to recover?
@Tim I tried areca about a year ago. It was lovely in theory, but when I ran into problems, there was very little support on the forum and I gave up. Is the user community more lively now?
Jul
14
comment Make `rm` move to trash
Do whatever you want such as the solutions outlined in the answers below, but don't name it rm. As pointed out by others, renaming/repurposing standard commands leaves you vulnerable when you habitually try to use them on other systems, but it also will cause problems for anyone else (perhaps assisting you) using your system/account when unexpected results occur.
Jul
14
comment Can I restrict a user to use special programs?
I'm not adding this as an answer because I haven't tried it in a long time, but you can change the user's login shell (in /etc/passwd, I believe) to run an arbitrary command or script instead of the default that allows them full normal user access. You just have to test your command/script to make sure the user can't break out of it.
Jun
16
comment How to do integer & float calculations, in bash or other languages/frameworks?
As a variation on the bc approach, I added the following function (that I found on stackexchange somewhere) to my .bashrc file. I can just enter calc 2+3 and get 5. ## Command line calculator calc () { bc -l <<< "$@" }
Jun
2
answered How to specify printer paper size in mm instead of inches?