Both of these commands find the current logged-in user, despite how they may have su'd or sudo'd to different accounts. Variant one: who am i | awk '{print $1}' Variant two: getent passwd $(</proc/self/loginuid) | awk -F: '{print $1}' getent is part of glibc (uclibc also provides it); who is part of...
SOLVED I can't use Revisor because it's not available in the target environment, which I don't control. I've come up with a strategy: Mount the original DVD ISO Create a yum.conf that points to only the repo on the disk Invoke yum to install (with special config) and --downloadonly, pointing to a lo...
I was looking at this external encrypted hard drive (eSATA) and wondering about the potential to mount /home on it. Anyone have experience or know of issues with that? I have seen no end of complaining about people trying to boot the entire OS off of one of these, since it won't a
This is baffling me... I recently upgraded my router. I plugged in my cable to connect my Ubuntu 11.04 box, and it fails to get an IP address. It hangs forever on DHCPDISCOVER and never gets a response. I eliminated the cable being an issue, and I borrowed another router and duplicated the problem....
I've become interested in reducing/removing excess sucrose and fructose from my diet. Does anyone have experience replacing sugar with glucose in various forms? I know about the reduction of liquid for syrups (by volume, 25% of the volume of syrup). What about powders (glucose and dextrose powders a...