Reputation
7,572
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 10 27
Newest
 Good Answer
Impact
~534k people reached

Mar
24
comment Does rsync verify files copied between two local drives?
@AndreMiller Thanks for the comment. I've updated the answer to address that issue.
Mar
11
comment Removing all spaces, tabs, newlines, etc from a variable?
Portability with very old UNIX versions is the only reason I can think of--- old enough that the UNIX version predates POSIX.1.
Jan
19
comment How long will NTP take to adjust the clock if it doesn't immediately set it?
If you can write a C program you can use the adjtime() system call to get the kernel to report how much clock slew is left to be done.
Jan
14
comment SCSI's, SATA's, RAID's oh my. Please direct me the wizard of RAID recovery
By "handed me a box" do you mean a cardboard box or a computer or a hardware RAID enclosure or what? If it's hardware RAID, then you need to find a working instance of this hardware. If it's a computer, you might be dealing with software RAID in which case you can probably just boot the right version of UNIX/Linux on fresh hardware and recover the drives, assuming that they still even spin.
Dec
6
comment freebsd10 disc cloning
More details, please. What did you expect to happen, and what happened instead?
Nov
30
comment Regex long list of numbers
Indeed, the idea of using a regex to match a range of integers definitely rings warning bells that this is likely an XY problem.
Oct
14
comment Files and Directories Dissappearing from Software Raid on Power Failure
What filesystem are you using on top of the RAID?
Oct
13
comment When is a symlink treated as the thing it links to, and as a symlink?
Related: unix.stackexchange.com/questions/31114/find-usage-with-l/… .
Sep
8
comment Shell loses keypresses when running SSH in the background
Well, if he's running it with &, ssh obviously does not need a password.
Sep
6
comment stream edit >GDRLR5L04EQY8D 3931|1166 into >3931
@thermophile You mentioned that the line contained a tab character. That certainly would cause the code above to fail. It expects a space before the strings of digits, not a tab.
Sep
5
comment stream edit >GDRLR5L04EQY8D 3931|1166 into >3931
@thermophile Well, I can only guess that the parsing required is more than the single example you gave us suggests.
Sep
5
comment stream edit >GDRLR5L04EQY8D 3931|1166 into >3931
@thermophile sed reads from standard input and writes to standard output, so the usual shell i/o redirection will work. I've edited the answer to show how to do this.
Sep
5
comment nfsroot freezing every once in a while presumably due to network glitch
NFS should resume working once the network comes back, so you should investigate the possibility that the network isn't coming back, due to hardware failure or some other cause. Try pinging the server continuously and disconnecting/reconnecting your network cable. If ping resumes working, you've ruled that out.
Sep
5
comment stream edit >GDRLR5L04EQY8D 3931|1166 into >3931
@Mikel Thank you.
Sep
4
comment Linux cannot compile without GCC optimizations; implications?
The coding practices question fits Programmers.SE. The question about what future version of GCC might break Linux kernel builds would be opinion-based, so that question should be dropped.
Sep
4
comment Linux cannot compile without GCC optimizations; implications?
This question is off-topic here, but would be a good question on Programmers.SE, I think.
Sep
3
comment git diff of copies that only added lines
If you "diff copy_A copy_B", every line after the initial stretch of identical lines will be a conflict. How could it be otherwise?
Aug
30
comment Apply given rsync exclude patterns on given directory
Write it up as an answer, explain why your way works better, gain some rep.
Aug
29
comment sshd suddenly wants a passphrase from Linux box, but not from windows (putty)
Use ssh -v to see the steps ssh goes through to authenticate the connection, and perhaps that will ring a bell for you.
Aug
28
comment Why would a partition be in use by the system if it isn't mounted?
So you booted off sda3 then mounted sdb3 on / over top of it, which overwrote the mtab entry, hence the mount command output showing no sign of sda3.