Learn › Linux Foundations
Reading Files
Read any file without changing a byte: cat, cat -n, tac, head, tail, less, more and wc, then identify and measure with file, stat, du, df, hexdump and xxd.
Labs in this module
- Chapter 5, Part 1. Reading Files: cat, tac, head, tail, less, more and wc - Part 1 of 2: cat, cat -n, tac, head, tail, the less and more pagers, and wc (Sections 5.1 to 5.7). No machine test here; it completes on the
- Chapter 5, Part 2. Reading Files: file, stat, du, df, hexdump and xxd - Final test: Chapter 5, Reading Files. Twenty-five objectives on a real Debian 12 server covering both parts: cat, tac, head, tail, less, mor