Linux Fundamentals #4 | Linux Commands 02 | Linux Basics for Beginners
Embedded World
0:00 / 0:00
Linux Fundamentals #4 | Linux Commands 02 | Linux Basics for Beginners
54 просмотра · 4 дня назад
Embedded World
24 подписчика
54 просмотра · 4 дня назад
In this part of the Linux Fundamentals series, we start working with files directly from the command line.
We begin with `echo` and learn how to send text to the terminal and redirect that output into files using greater than and double greater than.
From there, we explore how to edit files interactively using text editors like `nano` and `vim`, including the basic Vim mode system and essential commands for saving, quitting, and editing.
Next, we learn how to read and inspect file contents using:
• `cat` — display the complete file
• `head` — view the beginning of a file
• `tail` — view the end of a file
We then move into searching and working with larger amounts of information.
With `grep`, we learn how to search for specific text inside files and use useful options such as `-i`, `-n`, `-w`, and `-r`.
Finally, we introduce `find`, which lets us locate files and directories within the filesystem using conditions such as name and type.
Topics covered
`echo`
Output redirection with greater-than
Appending with double greater-than
Editing files with `nano`
Editing files with `vim`
Vim modes and basic commands
`cat`
`head`
`tail`
`grep`
`grep` options: `-i`, `-n`, `-w`, `-r`
`find`
Searching by filename with `-name`
Finding files with `-type f`
Finding directories with `-type d`
Understanding how Linux searches through the filesystem
The goal is not to memorize every command, but to build a practical mental model of how Linux lets us create, modify, read, search, and locate information from the command line.
This is part of the Linux Fundamentals learning series, where we gradually move from basic command-line concepts toward understanding how Linux actually works.