5,663 reputation
1121
bio website
location
age
visits member for 3 years, 11 months
seen 2 days ago
Back in '77 I worked with Steve Bourne on /bin/sh (little known fact: like awk, sh was named for its inventors, 'S' for Steve and 'H' for Humbert) and was responsible for the 'done' keyword. Following that I alternately pursued computer programming, field anthropology, and general philology; I currently work for an organization that has no name in the field of complex system obfuscation.

Oct
4
comment Using kernel cryptographic functions
If I have had access sufficient to subvert files in /usr/bin, then I've probably been able to subvert your kernel modules and anything else I want. Saying "I trust the kernel" in such a scenario is foolhardy.
Oct
3
comment Getting terminal access on old, strange hardware
Based on my experience with HP lab equipment (and sorry to say HP-UX) I highly doubt it. Even though it's got unix under the hood, they liked to make their devices turnkey and hid the OS so it would act like a toaster. You might find some RS-232 pins on the motherboard for diagnostic purposes which just might get you a console. Happy hunting.
Oct
2
comment stdin : is not in tty
That seems like a really complex way to write mysqldump --host db_host
Oct
1
comment recover partially overwritten tape from tar -c
Nopey. dd cannot do anything that the device driver doesn't afford and I've never seen any commercial drivers that do what you are hoping (writing an EOF at a specific location despite preceding junk). This is why people who have had too much experience with magtape are so glad we don't see much of it any longer. With paper-tape (which I never used) you could at least see the defects and fix them with a knife and glue, if only magtape were as forgiving.
Sep
30
comment How to create a short path?
I strongly recommend the tools that @slm mentions over the link or alias suggestions. Not having to specify and remember your shorthand names really lightens your memory burden. ("Was that edxPhy2013 or EDXphy2013 or Phy2013???" who needs that?)
Sep
30
comment How to create a short path?
+1 for mention of the vastly underrated autojump. Typing $ j phys to get to …EDX/physics2013/ has become one of the few shell enhancements I rely upon. As the autojump author notes from an informal survey 10–20% of shell commands are cd.
Sep
30
comment How to auto-start my bash_profile?
Not an exact duplicate, but close enough: new terminals and terminals spawned by screen are not login shells. See the linked answer for further details.
Sep
30
answered recover partially overwritten tape from tar -c
Sep
30
revised Computers are restarting spontaneously and simultaneously, how do I find the cause?
edited title
Sep
30
comment Computers are restarting spontaneously and simultaneously, how do I find the cause?
"behaves like a spontaneous loss of power" combined with "the computers are the only equipment affected each time" suggests that there is some internal protection circuit (e.g. undervoltage detector) kicking in and these two devices are unusually sensitive either because of defect in manufacture or electrical load from the controlled devices.
Sep
29
comment There are 4 SSDs but df only listed one. Why?
You said: "I already mounted those disks in fstab". So show us the contents of /etc/fstab and the output of mount.
Sep
28
comment Linux lock down route to avoid changes to the default route
Then the problem is turning on tethering. SSH is handled by tools in the Android Development Kit and does not require tethering.
Sep
28
revised What does the vm.swappiness parameter really control?
removed uninformative LMGTFY links, fixed prose
Sep
28
comment Linux lock down route to avoid changes to the default route
Isn't connecting the Android with USB Tethering supposed to give the unix host a route through the Android? Do you really want to set "Mount as disk drive" or "Charge only" on the Android instead of "USB Tethering"?
Sep
28
answered What does the vm.swappiness parameter really control?
Sep
27
comment Why `rename` behaves differently whenever I use full path instead current path?
The g flag caused it to attempt to move files to directories that didn't exist. Not the primary issue, true, but it contributed.
Sep
27
comment Why `rename` behaves differently whenever I use full path instead current path?
+1 good use of the diagnostic -n switch
Sep
27
revised Why `rename` behaves differently whenever I use full path instead current path?
added 81 characters in body
Sep
27
answered Why `rename` behaves differently whenever I use full path instead current path?
Sep
27
comment How does my partition (ext4) know its size of used/free space?
+1 You're right, the superblock is important, so much so that a copy is almost always kept in memory such that df doesn't even have to go to disk to get the allocation totals.