Usefull Linux Commands

Usefull Linux Commands

A list of useful commands for the Linux OS.

A guide to commonly used commands that I have started collecting as I go.


Useful Linux Commands

This will show what is running on specified port (27017: MongoDB):

sudo lsof -i :27017

To eliminate the need to add sudo before every docker command for the current user:

sudo usermod -aG docker $USER
newgrp docker