sudo su - enter the root mode
sudo su
pwd - print working directory
pwd
ls -la - list folders with permisions
ls -la
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.
There was an error while loading. Please reload this page.