Загрузка...

Understanding Linux: EP0003 - File Descriptors, stdin, stdout, stderr, redirections, pipes explained

[Level: Beginner Administrator]
In the "Understanding Linux" series, we're now going to delve into some theoretical material that might seem a bit complex, especially since it involves abstract layers. But to understand Linux, we need to delve into it. YOU MUST UNDERSTAND THESE CONCEPTS. We'll be talking about system processes and, more specifically, File Descriptors (FDs), which are the data streams of applications. We'll discuss Standard Input (STDIN), Standard Output (STDOUT), Standard Error (STDERR), and how these streams are redirected to and from files. We'll also discuss the pipe mechanism, which uses these data streams to allow applications to communicate with each other. It might seem like a lot of material, but we'll look at several very simple examples to familiarize ourselves with these concepts.

Let's go!

Understanding Linux: EP0003 - File Descriptors, stdin, stdout, stderr, redirections, pipes explained

Highlights:
00:00 Linux File Descriptors, STDIN, STDOUT, STDERR, redirections, pipes
00:59 Let's talk about processes
02:18 Let's talk about File Descriptors
02:42 System limits for user resources
03:27 Important to remember: STDIN, STDOUT, STDERR
04:12 Standard Input (STDIN)
04:37 Standard Output (STDOUT)
05:23 Standard Error (STDERR)
06:11 What is the point of all this theory?
08:13 The output redirection operator '⧽'
09:06 Concatenate the contents of files and print it
10:16 Recall, edit and execute previous commands on the shell
11:47 The asterisk '*' character acts as a wildcard on the shell
12:20 Sort lines of text files
12:58 Sort lines of text files in reverse order
13:37 Print lines that match a pattern
16:05 What is a 'pipe' '|' ?
19:15 The double output redirection operator '⧽⧽'
21:45 The input redirection operator '⧼'
26:04 Standard Input (STDIN) on multiple lines '⧼⧼'
29:09 Conclusion

New commands on the shell:
top
ulimit
cat
sort
grep

JayDee en FRANÇAIS: https://www.youtube.com/@UCSs7P3ZmOy4G6X_ygavsjzQ

Видео Understanding Linux: EP0003 - File Descriptors, stdin, stdout, stderr, redirections, pipes explained канала Linux with JayDee
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять