wget for Mac OS X

To install wget on Mac OS X, you will first need to install a C compiler.  The easiest way to do this is to install XCode Command Line Tools.  This can be downloaded from Apple – https://developer.apple.com/downloads/index.action One installed you can download wget and compile it (Please note that if you…

Continue reading

Encrypt and decrypt a file with OpenSSL

I was recently looking for a way of encrypting files with a salted encryption algruthum, and found this can be done using OpenSSL. It’s really easy and much more secure that using a zip product. You do this by using the following syntax: openssl des3 -salt -in /path/FileToBeEncrypted -out /path/EncryptedFileName…

Continue reading

Linux IP Calculator

I found a CLI IP Calculator for Ubuntu, it’s really useful to quickly resolve network details without leaving the console. You can install using apt-get: sudo apt-get install ipcalc You can then run the following (as an example) ipcalc 192.168.0.0/17 and get the following results Address: 192.168.0.0 11000000.10101000.0 0000000.00000000 Netmask:…

Continue reading

Using Screen

Screen is a terminal multiplexer, which allows you to access multiple separate terminal sessions inside a single terminal window or remote terminal session.  This can be really useful when you are performing different tasks at the same time, or when you have a process that will take a long time to complete.  …

Continue reading