Bash and Linux 5 cheatsheet
Bash and Linux 5: Processes and system
11 common Bash and Linux 5 tasks.
Force-kill a process
End a process immediately when it ignores a normal kill.
kill -9 1234
Caution: The process cannot clean up, so data can be lost. Try plain kill first.
Find what is using space
Show the size of each item in the current folder, largest last.
du -sh * | sort -h
Set an environment variable
Make a variable available to programs started from this shell.
export API_URL=http://localhost:8000