Member-only story
Basic Linux Commands: Part 2
In the first part of this series, we explored essential Linux commands for navigating the filesystem, managing files, and monitoring the system. Now, let’s dive deeper into intermediate and advanced commands that expand your capabilities with Linux, covering process management, advanced file manipulation, system administration, and networking.
---
1. Process Management
Managing processes is a critical skill for ensuring your system runs smoothly. Linux provides powerful commands to monitor, control, and manage processes.
---
a. ps (Process Status)
The ps command displays information about active processes. By default, it shows processes in the current terminal.
Usage:
ps
Options:
ps aux: Displays all processes running on the system.
ps -ef: Shows detailed process information in full-format listing.
Example:
ps aux | grep nginx
---
b. kill (Terminate Processes)
The kill command sends signals to terminate or manage processes.
Usage:
kill [PID]
Example:
kill 1234
Common Signals: