Finding your current version of Ubuntu is simple. Output will look something like this. No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1
This command will get you a -s summarized, -h human readable, listing of the . current directory and all subdirectories disk usage totaled to one
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
You don’t need to write your own log rotation service in Linux, you can use the built in service called logrotate super easily. Below is
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
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
This is the only command I’ll use to upgrade or update the OS on my Ubuntu instances, any version. This doesn’t upgrade to the next
Basic usage is simple, the man page doesn’t always get to the examples quickly so I thought I’d write about it for a quick reference.