Finding the recursive sizes of folders and their contents in summary is easy with the disk usage (du) command. Output will look something like this.
Port Scan the Entire Internet in 5 Minutes?
One of my favorite sub-reddits is /r/coolgithubprojects. I check it out a few times a week looking for interesting open source projects. One interesting project
Using netstat to Monitor Connections and DDoS on Your Server
Netstat is a wonderful Linux command to peak into networking processes on your server. Combined with other commands such as sort netstat can become extremely
How To Setup a Swap Partition in Ubuntu on EC2
Many cloud servers don’t come with a swap partition setup by default, including Amazon EC2 servers. Luckily it’s fairly simple to setup. Below were using
How to Check Ubuntu Kernel Version with uname
The uname shell command will print out in any Debian or RedHat variant like Ubuntu and Centos Linux much of the main system information, here
How to View Processes and Their Respective Ports on Linux and OSX
If you want to see what processes are listening on what ports these you can use the linux command lsof and netstat. Below are a
How to Watch For a Process to End on Ubuntu Linux
I wanted to send myself a text when a long running process was done so I needed a command that would watch for a process
How to Recursively Extract All Nested Zip Files in Linux
I needed to recursively unzip a big mess of nested zip files. This shell command does the trick, it also preserves the directory structure.
How to Setup Password-less Loggin with SSH Keys
Having to type in passwords manually all day long into servers you manage is a pain. You should be using ssh keys, they’re more secure,
Quickly Create 100 Thousand Random Files In a Folder Linux
This command very quickly creates 100k randomly sized binary files in the directory you run it in. Took 6 minutes 37 seconds to run on