#Terminal

176 solutions

Terminate a Process by PID with kill
macOSProcessesTerminal

Send a normal termination signal to one specific process, and escalate to a forced kill only if it refuses to quit.

Medium risk ✓ 2026-09-19
ps aux: A Full Snapshot of Running Processes
LinuxprocessmonitoringTerminal

Use the classic ps aux command to list every process on the system with owner, CPU, memory, and command columns.

Low risk ✓ 2026-09-19
kill vs kill -9: Graceful and Forced Termination
LinuxprocesscommandTerminal

Terminate a specific process by PID: first with a plain kill (SIGTERM), then with kill -9 (SIGKILL) only if it refuses to exit.

Medium risk ✓ 2026-09-19
Find a Process PID by Name with pgrep
macOSProcessesTerminal

Use pgrep -fl to instantly look up the PID of any running macOS process by matching its name or command line.

Low risk ✓ 2026-09-19
Keep Your Mac Awake with caffeinate
macOSsleepTerminalPower & Sleep

caffeinate holds sleep off while a command runs, or for a fixed number of seconds.

Low risk ✓ 2026-09-18
Change where screenshots are saved on Mac
macOSScreenshotTerminaldefaults

Point macOS screen captures at any folder you choose instead of the desktop.

Medium risk ✓ 2026-09-16
Find a Process PID by Name with pgrep
LinuxprocesscommandTerminal

Use pgrep -a to look up the process ID (PID) of any running program by name and see its full command line.

Low risk ✓ 2026-09-19
Quit or Restart a Frozen App with killall
macOSProcessesTerminalkillall

Force-quit a hung macOS application by name from the terminal using killall, then relaunch it in one more command.

Medium risk ✓ 2026-09-18
Restart a Homebrew Service with brew services
macOSbrewservicesTerminal

Stop and start a Homebrew-managed background service in one step so config changes take effect.

Medium risk ✓ 2026-09-19
Terminate Processes by Name with pkill
LinuxprocesscommandTerminal

Use pkill to send a termination signal to every process whose name matches a pattern — no PID lookup needed.

Low risk ✓ 2026-09-19
List All Connected Disks with diskutil list
macOSTerminaldiskdiskutil

See every internal and external disk, its partitions, and its /Volumes name from the terminal with one command.

Medium risk ✓ 2026-09-19
Search Inside Files with grep -rn
macOSsearchFilesTerminal

Find which file contains a specific phrase — with file name and line number — using grep's recursive search.

Low risk ✓ 2026-09-19