terminal
root@cheat
systemctl restart
Restart a systemd service. Stops and then starts the service, applying any configuration changes.
WARNING: sudo systemctl restart apache2
sudo systemctl restart sshd
Dangeroussystem
kill -9
Forcefully terminate a process by its PID. Signal 9 (SIGKILL) cannot be caught or ignored.
WARNING: kill -9 $(pgrep firefox)
killall -9 chrome
Dangeroussystem
sudo
Execute a command with superuser privileges
WARNING: sudo apt update
Dangeroussystemsecurity
rm -rf
Forcefully remove files and directories recursively. USE WITH EXTREME CAUTION!
WARNING: rm -rf /tmp/old_files
Dangerousfiles