428 reputation
311
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 4 years, 7 months
seen Dec 16 at 5:20

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)


Jan
29
comment How to make sed omit not matching lines?
It doesn't matter for what you really wanted to know, but your pattern should start with ^ so it's anchored to the beginning of the line. As coded, it would match an a or c anywhere in the line as long as it's not the last character.
Jan
21
comment What character encodings were used before 1963?
It's probably mentioned in some of the links in the answers, but one of the first programming codes (not really a "character" code) was invented by Basile Bouchon (1725) and improved by Jacquard for programming looms. en.wikipedia.org/wiki/Basile_Bouchon en.wikipedia.org/wiki/Jacquard_weaving
Jan
15
revised Filter interactive output (top)
Added details
Jan
15
comment Go to directory with unknown name
@DanD. +1 for cool option I didn't know about. I usually just use a gui file manager when something like this has to be dealt with, but it might come in handy if I have to work from a console or within a script.
Jan
15
answered Filter interactive output (top)
Jan
15
comment How to delete all files in a directory except some?
The answers below are a lot better, but you could just make the files to save read-only, delete all, and then change them back to their original permissions (as long as you don't use rm -f). You'd have to know what permissions to restore and you'd have to know that nothing needed write access to them during the process. This is why the other answers are better.
Jan
8
comment How vibration sensitive are hard disk drives?
I have a Toshiba notebook with a vibration sensor on the hard drive. Fortunately, it only works in Windows (and I use Linux almost exclusively) because it goes off when I look at the notebook the wrong way. I don't shock my notebook on purpose, but normal movements - like putting it on my lap never seem to cause a problem, but they do set the vibration sensor off in Windows. So, yes they are sensitive, but they seem to deal with minor vibrations one way or the other. But, adaptors are really cheap. Why not use one?
Jan
8
comment My USB says it has 15.7GB of space used but inside all the folders are empty
Check out card-recovery.biz/us/service.php powerdatarecovery.com z-a-recovery.com Different programs approach it differently, so may have different results.
Jan
1
revised Tackling bandwidth optimization (possibly) through R-Sync
Added details
Jan
1
comment How to protect laptop if my outlet isn't grounded?
@DanielRHicks I have no idea what putting a voltage on a gas pipe might do, but if you did, that voltage would be propagated to everything metal that touches it - at least from the point of connection to a ground in either direction. If there were any places along that path where a spark could be generated ... Gas and sparks together is not good. So, just to be safe, this wouldn't be something I would want to try.
Jan
1
answered Tackling bandwidth optimization (possibly) through R-Sync
Nov
27
comment How to view large spreadsheet in Windows
Your files are probably too large for this to help, but you might want to try LibreOffice calc. I know they recently greatly expanded the number of rows they can handle. The real question is why is your data so big? Is it structured in some way that you can subdivide it into meaningful smaller chunks as @mrTomahawk suggests and use those chunks to generate summary data that can then be merged for all the chunks into something more manageable? Usually, when data gets even a fraction of this big, it should be handled by a database, not a spreadsheet.
Nov
27
comment Copying files from one NAS to another
If your NASs will let you run rsyncd/rsync (Linux) on them, you can copy data even faster directly between the two NASs - because rsync is usually setup to copy only the parts of files that have changed, not whole files. You can replace the firmware on some NASSs with freenas which will let you do such things and more. (Doing so will probably void any warranty on your NAS.)
Nov
23
comment Is there a filesystem that keeps only one copy of a file, and other copies are just references?
OK. Just some ideas: Is there some way you can get between your users and these files? If you can, you could start with a link (sym or hard) and then break the link if they write anything to the file. You could also use something like diff to just store differences to save a lot of space like in a version control system. If you put the files in one of those, it could manage the differences for you. I haven't used vcs systems much, so I don't know the details.
Nov
19
comment Is there a filesystem that keeps only one copy of a file, and other copies are just references?
Since there doesn't seem to be a perfect answer yet, why not write a script (perhaps run from cron) that replaces files with hard links (or, if it's safe for some of them, symlinks)? In any case, if you don't already know where all the duplicates are, check out fdupes code.google.com/p/fdupes.
Nov
12
comment Bittorrent software files called dlimagecache
SWAG: download image cache? Probably where it stores downloaded pieces of files that are either incomplete or have not yet had their checksums verified.
Sep
17
comment How can I make just one page of a Word document horizontal?
It's a lot easier in Libreoffice. All you have to do is use/create a new page style for that page (and for any other where you want the same effects) which is landscape.
Sep
3
comment Doubts About the Linux Root File System
+1 for /proc stuff I didn't know about.
Sep
2
comment USB hard disk stopped working in Debian without unmounting
That's beyond my pay grade. Make backups of critical data and especially, the files you will be modifying before trying those solutions.
Aug
27
comment My stereo headphones cable is broken, what can I do?
Is there a way to add heat shrink tubing before the cable breaks? If the tubing is big enough to side over the connector, it usually won't shrink enough to grasp the cable. I go through a lot of headphones and I won't buy any expensive ones if the cables are going to fail in a few months.