Useful Linux Commands
Command | Meaning |
---|---|
cat /etc/os-release | find the OS |
pwd | pbcopy | Copies the command output to the clipboard |
pbpaste | pastes clipboard |
docker images | sort -k7 -hr | show docker images in descending order of their size [1] |
adduser soumendra | Add an user, soumendra |
usermod -aG sudo soumendra | Give sudo access to the user |