File and Directory Management LINUX
File and Directory Management LINUX
Process Management
ps: List running processes.
Example: ps aux (Displays a detailed list of all processes.)
top: Display running processes in real-time.
Example: top (Shows system resource usage in real time.)
htop: Similar to top with a better interface (needs installation).
Example: htop (Launches an interactive process viewer.)
kill: Terminate a process by its PID.
Example: kill 1234 (Terminates the process with PID 1234.)
killall: Terminate processes by name.
Example: killall firefox (Closes all instances of Firefox.)
bg: Resume a job in the background.
Example: bg %1 (Resumes job number 1 in the background.)
fg: Resume a job in the foreground.
Example: fg %1 (Resumes job number 1 in the foreground.)
jobs: List active jobs.
Example: jobs (Displays background jobs.)
Networking
User Management
Let me know if you'd like more examples or details for any specific command!