screen cheatsheet
screen is an excellent tool that allows you to have multiple shell sessions on a single physical terminal. It's very helpful when working with remote servers, if you start a…
lsof
lsof is a command that shows information about files opened by processes in unix systems. As in unix a lot of things are considered a file, you can list very…
Samba 4 Active Directory cheatsheet
Transfer FSMO roles Execute from the Samba 4 server you want the roles to be transferred to: samba-tool fsmo seize --role=<role> where <role> can be any of: rid, schema, pdc,…
Salt cheatsheet
List minions List all minions that are up salt-run List all unresponsive or down minions salt-run Note: if (the optional) removekeys is used, it removes the minion from the master's…