Catalogue / Infrastructure & systems
Linux Command-Line Fundamentals
Terminal, files, searching, redirections, archives: the foundations shared by every distribution.
A MasterLinux course · Original text
What you will learn
- Use the terminal with confidence
- Create, move and delete files and directories
- Read, search and filter text with grep and find
- Chain commands with pipes and redirections
- Understand the Linux directory tree (FHS)
- Create and extract tar and gzip archives
- Process text with sort, cut, sed and awk
- Write bash scripts with conditions, loops and functions
Course content
18 lessons · 10 h 20 minSection 1 — User
- The terminal, the shell and the prompt Preview20 min
- Moving around: pwd, ls, cd and paths Preview25 min
- Files and directories: touch, mkdir, cp, mv, rm Preview25 min
- Reading a file: cat, less, head, tail, wc 25 min
- Editing a file: nano, vim, and methods without an editor 35 min
- The Linux directory tree (FHS): what each directory is for 30 min
- Searching: find, grep and locate 35 min
- Redirections and pipes: >, >>, <, |, 2>, tee 35 min
- Finding help: --help, man, info, help and /usr/share/doc 25 min
- Archives and compression: tar, gzip, zip 30 min
- Shell wildcards and patterns: *, ?, [], {} and quotes 35 min
- Hard links and symbolic links: ln, ln -s, inodes 35 min
- Variables and environment: export, PATH, alias, ~/.bashrc, history 40 min
- Sorting and cutting text: sort, uniq, cut, tr, wc, paste, column 40 min
- Regular expressions with grep -E and sed 45 min
- awk for administrators: fields, conditions, sums, reports 45 min
- Bash scripts 1: first script, arguments, read, exit codes, if 45 min
- Bash scripts 2: loops, case, functions and a backup script 50 min
Requirements
- Basic computer skills
- No prior knowledge of Linux
Who is this course for?
- Complete beginners
- Developers who want to master the terminal
- Future system administrators