Linux - erikpa1/MyExperience GitHub Wiki
sudo su - enter the root mode
pwd - print working directory
ls -la - list folders with permisions
chmod +x new.txt
adduser <username>
cat /etc/passwd
cat /etc/shadow
-n - omits the trailing newline added at the end of the output
echo -n "My text" | base64
sudo ss -tlnp | grep :80
# File size
ls -lh image.png
# Dimensions (width x height) — needs ImageMagick
sudo apt install graphicsmagick-imagemagick-compat
identify image.png
/var/logs/auth.log - contains all logs from login attempts into SSH.