Category: Bash

0

Chapter 21: Bash Stream Editor (sed)

What is sed? (super simple first) sed = stream editor It’s a tool that reads text line-by-line (from a file or from pipe), makes changes automatically, and prints the result (usually to screen or...

0

Chapter 22: Bash Remove Section (cut)

What does cut actually do? (super simple first) cut = remove sections from each line of files (That’s literally what the man page says!) It cuts out (extracts) only the parts you want from...

0

Chapter 23: Bash Sort Lines (sort)

What does sort actually do? (super simple first) sort reads lines of text (from file or from pipe), sorts them alphabetically/numerically, and prints the sorted result. By default: Sorts lines (whole line) Alphabetical order...

0

Chapter 24: Bash View End (tail)

What does tail actually do? (super simple first) tail = shows the last part of a file (or from pipe/input). By default: Shows the last 10 lines of a file Very fast – doesn’t...

0

Chapter 25: Bash View Start (head)

What does head actually do? (super simple first) head = shows the first part (the “head”) of a file or input. By default: Shows the first 10 lines of a file Very fast –...

0

Chapter 26: System Monitoring

What is System Monitoring? (super simple first) System monitoring means watching and checking how your Linux computer (or server) is working right now and over time. You keep an eye on important things like:...

0

Chapter 27: Bash Process Status (ps)

What is ps? (super simple first) ps = Process Status It shows a snapshot (photo at this moment) of the processes (running programs/tasks) on your Linux system. Every program, script, service, browser tab, background...

0

Chapter 28: Bash List Processes (top)

What is top? (super simple first) top = shows a live, updating view of all running processes on your Linux system + summary information about CPU, memory, swap, tasks, load average. It’s the most...

0

Chapter 29: Bash Disk Space (df)

What does df actually do? (super simple first) df = disk free It shows you how much disk space is used and how much is still free on your mounted filesystems (hard drives, SSDs,...

0

Chapter 30: Bash Directory Usage (du)

What does du actually do? (super simple first) du = disk usage It tells you how much space each folder (and its contents) is using on your disk. Key difference from df: df →...