Useful Linux Commands
Useful Linux Commands
processes:
pidof nginx
ps -aux | less
permissions:
SUID, SGID - Sticky bit
User Groups
Permissions of current user
Linux Permissions Explained
List groups
files:
touch file1.txt
Create
Write output into a file
View hidden files and folders
misc:
id
Screenshot: https://de.wikihow.com/Einen-Screenshot-unter-Linux-machen
show own used ports ss -lntpu
show your ipaddress ifconfig
Do I have root access? sudo -v
Find a file by ending find /home/username/ -name "*.err" (more here https://www.linode.com/docs/guides/find-files-in-linux-using-the-command-line/#find-a-file-in-linux-by-name-or-extension)
Top of a very long file with cat tldr: head -n 25 filename