Today I Learned


5 posts about #linux

List The Statuses Of All Upstart Jobs

To see a list of all known upstart jobs and their statuses, use the following command:

$ initctl list
console stop/waiting
mounted-run stop/waiting
acpid start/running, process 2927 start/running start/running
kmod stop/waiting start/running
nginx stop/waiting
plymouth-stop stop/waiting
rcS stop/waiting
ufw start/running

It will tell you for each job if it is stopped or started.

See man initctl for more details.

h/t Josh Davey

Upgrading Ubuntu

I recently discovered that my Linode box was running a fairly old version of Ubuntu. Because it is a remote box that I SSH into, there is no graphical user interface. Upgrading to a newer release can be accomplished with the following command line utility:

$ do-release-upgrade

It includes a series of prompts regarding choices about the upgrade and a lot of waiting.

Adding the -d flag will upgrade to the latest development release.