A very useful string search and append that I find myself rewriting over and over. So I’ve decided to write a post and capture the […]
Continue readingCategory: Ubuntu
Recover Lost Files on Linux
TestDisk includes PhotoRec which is very good at recovering files: sudo apt-get install testdisk To run PhotoRec: sudo photorec PhotoRec: http://www.cgsecurity.org/wiki/PhotoRec
Continue readingCopy data from one Hadoop cluster to another Hadoop cluster (running different versions of Hadoop)
I had to copy data from one Hadoop cluster to another recently. However, the two clusters ran different versions of Hadoop, which made using distcp […]
Continue readingHBase All Regions in Transition: state=FAILED_OPEN
After I added a jar file to the HBase Master I had a problem where regions failed to transition to a RegionServer. Below are the errors; […]
Continue readingCron file failed to load: (username~) ORPHAN (no passwd entry)
This problem bothers me a little. The authentication server failed during a cron job that referenced a specific account. Ubuntu could not authenticate the account, […]
Continue readingTest if a File Exists in Ubuntu and Delete
Use the test command to test if a file exists and delete the file if it exists. Or output a message that the file does […]
Continue readingClean Packages and Get Back Storage in Ubuntu
When I am low on space or I just want to clean house: Clean Packages 1. Update your sources.list sudo apt-get update 2. Clean any […]
Continue readingRepair Packages in Ubuntu
If you run sudo apt-get update and receive an error similar to the following, you may have a newer version of linux-image-server and linux-headers-server than […]
Continue readingRenew DHCP in Ubuntu Linux
I often have to look this up. Release a DHCP lease in Ubuntu with the following command (for the GUI search for gnome-terminal): sudo dhclient -r […]
Continue readingInstall Oracle Java 7 on Ubuntu Linux
The blogger at http://tuxtuts.com saved me a lot of time, thanks! How to: Install Oracle Java 7 (JDK & JRE) in Ubuntu 12.10 and Linux Mint 13 […]
Continue reading