Format Machine over ssh
2012-08-20
Lets say you have data on a remote linux machine, and for what ever reason you need to format the drive. Like for instance you decide to switch VPS hosts. If you just let them delete it, you have no way of knowing what really happens to your data. So providing you have ssh access here is a way to eliminate your data. One of the beauties of linux is that everything is represented as a file or folder.…
Getting public ip from CLI
2012-05-16
I’ve found my self on occasion needing to find the public IP of a machine while in commandline(CLI). Most of the time its just because i’ve spoiled my self with DNS entries, and haven’t memorized it. You need to have curl installed. If you don’t have it, it should be in your package manager. In Ubuntu its easily installed via: sudo apt-get install curl Then just simply run: curl ifconfig.me I figured since I hadn’t posted in a while, this is a useful enough tidbit to share.…