Linux – Task Management

When a task is blocking your shell for some time, like for example unzipping a large archive, this can be annoying. Up to now, I’ve always opened a second and a third terminal when I didn’t had access to the shell anymore. Enter Linux task management! When a job is running (for example ‘tar xvzf […]

Linux – Scan open server ports

To get a list of all ports (and the service they expose) of a server, install nmap: nmap yourserver.com (optional for example -p 80)  

Linux – Command History

We have all been there. You are searching for some long and complex command you manually entered 4 minutes ago, but despite you bashing the up key, you can’t seem to find it and are now having a bad day because of this. This is a trick I learned from a Linux veteran: CTRL+R This […]

Docker – Basic commands

Create new Docker container Start off with an existing image. For example ‘Ubuntu’ to start modifying. There are many others, find them here: https://hub.docker.com/ docker pull ubuntu Then find the ID of your downloaded image: docker images In the list, look for the IMAGE ID of your downloaded image. In my case, for Ubuntu, it’s d355ed3537e9. Now, […]

Linux – Process to background / foreground toggle

You started a process containing a web server for example. Your terminal will be blocked until you close the running script (ctrl+c), but opening a second terminal is not always an option. That’s when these commands are used: CTRL+Z –> to background # fg –> to foreground It certainly helped me a lot.

Life – Build Not-to-do lists

Only recently I gained the insight that you cannot ‘manage’ time. You can only manage yourself. Of course we know all about to-do lists and setting priorities, and then changing those priorities. Changing the position of your to-do items only swaps position 1 with position 4. Though changing priorities can be useful, it does not give […]

Linux – Rename Multiple Files

One cannot deny that Windows made file management user friendly. It’s 2017 and still some important usability features are missing from Linux distros. Last, I had to rename multiple files in order to organize my web image assets neatly, but (being a previous Windows user) I kept bashing F2 in order te perform a bulk […]

Linux – Easy Password Generator

A really useful tool for quickly generating random passwords in Linux is pwgen. Install with sudo apt-get install pwgen (on Debian based systems) and then use pwgen to fill your screen with randomly generated passwords. It’s possible to add params in order to customize your generated passwords. These are listed below. -c Include at least one capital letter in […]

LInux – List all service statusses

Using the command “service –status-all” one has access to all available services and their status.