Category: Bash

0

Chapter 11: Bash Copy (cp)

Bash Copy (cp) — the cp command, which stands for “copy”. This is one of the big four file-handling commands in Bash/Linux (along with mv, rm, and mkdir). cp is your safe way to...

0

Chapter 12: Bash Move (mv)

Bash Move (mv) It’s the command for moving files/folders to a new location or renaming them. Unlike cp (which duplicates), mv changes the location or name — the original disappears from its old place...

0

Chapter 13: Bash Remove (rm)

BashRemove (rm)  It is the main command we use to permanently delete files and folders in Linux / macOS / Unix-like systems. Very important warning first (teacher voice ON): There is no Recycle Bin...

0

Chapter 14: Bash Timestamp (touch)

What Bash Timestamp (touch) The name “touch” is very literal — it touches the file. When you “touch” a file, two main things can happen: If the file does not exist → it creates...

0

Chapter 15: Bash Make Dir (mkdir)

What does mkdir mean? mkdir = make directory It creates folders (directories) from the terminal. Without it you would have to use a file manager → right-click → New Folder → type name →...

0

Chapter 16: Bash Manual (man)

What is man? (super simple first) man = manual It opens the official built-in documentation (called “man page”) for almost any command, function, file format, or system call in Linux. Think of it as...

0

Chapter 17: Bash Alias

What is a Bash alias? (super simple first) An alias is a shortcut name you give to a longer command (or chain of commands). Instead of typing something long and complicated every time, you...

0

Chapter 18: Text Processing

What is Text Processing? (super simple first) Text processing means doing smart things with written words using a computer. Instead of just reading text like a human, the computer changes, cleans, cuts, counts, understands,...

0

Chapter 19: Bash Search Text (grep)

What does grep actually do? (super simple first) grep = global regular expression print It searches for text patterns inside files (or from input) and prints the matching lines. Think of it as Ctrl+F...

0

Chapter 20: Bash Pattern Scan (awk)

What is awk? (super simple first) awk = named after its creators (Aho, Weinberger, Kernighan) It’s a text processing language built into Linux/Bash for scanning patterns and doing actions on structured text (like CSV,...