Linux / Systemd
Service Management (systemctl)
Essential commands for managing background services.
systemctl start nginx
systemctl stop nginx
systemctl restart nginx
systemctl enable nginx
journalctl -u nginx -f
Linux / File System
Permissions (chmod/chown)
Numeric reference: Read=4, Write=2, Execute=1.
chmod 755 file.sh
chmod 644 file.txt
chmod +x script.sh
chown user:group file.txt
Network / Reference
Common Standard Ports
List of well-known ports for TCP/UDP services.
21 : FTP (File Transfer)
22 : SSH (Secure Shell)
25 : SMTP (Email Sending)
53 : DNS (Domain Name System)
80 : HTTP (Web Unsecured)
443 : HTTPS (Web Secured)
3306 : MySQL / MariaDB
5432 : PostgreSQL
Development / Version Control
Git Cheat Sheet
Standard workflow for version control.
git init
git add .
git commit -m "Initial commit"
git checkout -b feature/new-login
git push -u origin feature/new-login
git reset --soft HEAD~1
Development / API
HTTP Status Codes
200 OK : Success
201 Created : Resource created
301 Moved perm. : Permanent redirect
400 Bad Request : Client syntax error
401 Unauthorized : Authentication required
403 Forbidden : Server refuses action
404 Not Found : Resource missing
500 Internal Error : Generic server crash
502 Bad Gateway : Upstream error