Reputation
453
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 11
Impact
~19k people reached

  • 0 posts edited
  • 0 helpful flags
  • 113 votes cast
2d
comment Does UEFI potentially leak encryption keys?
Most of this is way beyond what I understand, but your mention of using truecrypt jumped out at me because, AFAIK, support for it was discontinued some time ago and it is no longer considered secure.
Jun
22
comment Unzip .gz file when line order is important
This is pretty weird. No idea why it's happening. If it was the zip utilities, the whole world would be screaming for a fix. But ... As a workaround, (if the unzipped files are ever in the right order) couldn't you just add a line number prefix to each line before (re)compressing the file and then sort it after expanding the file? Are random lines being reordered or is there some pattern to to it? Can you take the original file to another computer or operating system and see what happens?
Jun
9
comment Take stdin from file but still have it show up in terminal
I don't know how to do this, but you "should" be able to do this using (unbuffered) tty devices. See stackoverflow.com/questions/8514735/… for some clues.
Apr
22
comment Re-encoding in FFMPEG using the exact same settings as the input file
I know considerably less about this than you do, but you may find this interesting: rainnic.altervista.org/content/….
Feb
17
comment Programatically determine if an script is being executed on laptop or desktop?
@Alex - Yes. I just wanted to point out that the hard coded BAT0 wasn't reliable. You might want to edit this into your answer.
Feb
17
comment Programatically determine if an script is being executed on laptop or desktop?
Doesn't work for me (Toshiba Notebook), because my battery is named BAT1. I don't know how many other possible names there might be.
Feb
17
answered Remapping SysRq in Linux
Feb
5
answered Using find on Linux to find files with group/other permissions that match
Feb
2
comment Using find on Linux to find files with group/other permissions that match
Don't know the answer, but if I were trying to do this, I would start with a find that only excludes things you never want to see and then pipe the output into other filters like grep, sed, or awk where it's much easier (especially with awk) to solve the problem one piece at a time and add things like print statements to make sure that each part is doing what you want it to. Clarification? Permissions match what? What is the "macro" problem you are trying to solve?
Feb
2
comment GPT partition table is corrupt after every one to three reboots
Have you run any disk diagnostics like SMART tests or the appropriate version of fsck? This could be a hardware issue. Do you have another hard drive you can experiment with to see if the problem is the original drive?
Jan
26
comment How to quickly change the first word in a Bash command?
@Hastur - When I have any doubt about what's going to happen or I belatedly realize I have to do something else first before running something long I have just typed in, I go to the beginning of the line and add a # or an echo so I can see it and it goes into history so I can get it right back and run it again without the disabling prefix.
Jan
26
comment Is there a one line command to make chmod interactive?
@nbubis - I felt the same way until I noticed that I had copy and pasted some text for file names from web pages and ended up with some names with newlines in them. Sooner or later, I'll have to figure out a fancy find command to go through and sanitize all of them.
Jan
7
comment Where are shell functions stored on Linux?
Check out unix.stackexchange.com/questions/85249/… The problem is that which is a legacy command that should not be used - especially because of things like this question.
Nov
19
comment Thunderbird: always sort emails by date
I just installed it to give it a try. It works on Thunderbird 31.2.0 as well. I had to use View->Sort By to change the sorting - to make sure it worked. You can also upvote my answer (in addition to accepting it) if you want to.
Nov
19
comment How to fix or exorcise a “Devil” printer that fails to work for more than a few days
Don't you just love it when something you do fixes a problem, but you still have absolutely no idea how it originally occurred or what was really wrong? I used to experience that a whole lot more before I switched to Linux. BTW I have an HP1006 working nicely on Linux. My HP1020 has recently become somewhat less cooperative.
Nov
19
answered Thunderbird: always sort emails by date
Nov
11
comment Getting RegEx Code for File Name Change
I don't use Windows or AutoHotKey, but if you can get any version of sed for your system, it's perfect for cleaning up pesky text data like this. It has very powerful regex support. You can also just set it up with constant sample texts going into it until you get your regex to work properly. I know cygwin supplies all the tools like this, but you can probably find a standalone sed for Windows as well. thoughtasylum.com/blog/2011/9/30/using-sed-on-windows.html
Sep
24
awarded  Autobiographer
Aug
25
comment Can't log into certain websites with Chrome, but it works with Firefox
No idea about the specific problem, but I regularly run into websites that don't play well with Firefox (I know that's not your problem). The web is (and should be) unregulated and people put all sorts of things in web pages that don't comply with current standards and best practices. I just keep 5 different browsers around and usually, one of them works. I usually fall back to Opera when Firefox can't handle something. You can probably debug and maybe even find a way around 1 problem at a time, but it's easier to try different browsers.
Aug
5
awarded  Yearling