Skip to main content

Linux Cheat Sheet

Find IP address

hostname -i

or

ip addr show
printenv

or to filter down to certain naming values

printenv | grep <filter text>

Install a binary

chmod +x <binary to install>
mv <binary to install> /usr/local/bin