Working with Text: Viewing, Searching, and Piping
Master the everyday text tools every Linux admin relies on: viewing files, searching with grep, and chaining commands with pipes and redirection to process server data directly from the command line.
Text Is the Linux Interface
On a Linux server, almost everything is text — configs, logs, output. Reading and filtering it fluently with pipes and redirection is what makes you an admin.
Viewing Files with cat and less
cat dumps a whole file to the screen — fine for short ones. For long files use less, which lets you scroll, search with /, and quit with q.
cat /etc/hostname
less /var/log/syslogAll lessons in this course
- Introduction to Linux Servers
- Mastering Basic CLI Commands
- File System & Permissions Essentials
- Working with Text: Viewing, Searching, and Piping