Linux Command Guide

Search and explore various Linux commands.

Ask AI

Summarize the situation you want to resolve in up to 300 characters and ask the AI which commands you need.

Search freely

Click on the desired category to filter the commands. You can also enter a keyword to search for specific content.



nohup

nohup: Keep Running After Logout

A tool that allows commands to continue running even if the terminal is closed or the SSH connection is lost. It is essential for running long-duration tasks (e.g., server processes, large-scale downloads, batch jobs) in the background.

Learn more

pgrep

pgrep: Find Process IDs

The `pgrep` command searches through the list of running processes based on specific criteria (e.g., process name, user, full command line) and outputs the Process IDs (PIDs) of those processes. This is more efficient and convenient than combining the `ps` and `grep` commands to find the desired processes.

Learn more

pkill

pkill: Terminate/Signal Processes by Name

pkill is a command that sends signals to processes based on their name or other attributes. It is similar to `pgrep`, but it directly sends signals to the found processes. It is useful for terminating or restarting all processes with a specific name at once.

Learn more

ps

ps: View detailed information of all processes

The ps command displays a snapshot of currently running processes. Specifically, the 'ps -ef' option combination is essential for process monitoring and troubleshooting as it outputs detailed information about all system processes in a standard format.

Learn more

renice

renice: Change Priority of Running Processes

Changes the Niceness (priority) value of already running processes in real-time. Used to reduce resource consumption of a specific process (yielding) when the system slows down, or to allocate more resources to critical tasks.

Learn more

w

w: View logged-in users and their activity

This command displays information about users currently logged into the system, the processes they are running, their login times, and idle times. It is useful for system administrators to understand the current system load and user activity.

Learn more

wait

wait: Wait for Background Job Completion

The `wait` command is used to pause execution until a specified background job or process (PID) terminates. It is particularly useful in scripts where multiple tasks are run concurrently, and the script needs to wait for all of them to complete before proceeding.

Learn more
previous Page 2 / 2