The core idea of the Unix shell is to connect simple commands into chains. Each command (its own process-and-pid) reads from stdin, writes to stdout, and sends errors to stderr. You can redirect these streams into each other and into files.
← из прошлого урока
You saw that a file is an inode behind a name, and that a hard link and a symlink do different things. Next: how to make commands talk to each other through stdin/stdout, and how to write straight to a file instead of the screen.
Базовый
12 мин · урок входит в курс «Базовый»
The core idea of the Unix shell is to connect simple commands into chains. Each command (its own process-and-pid) reads from stdin, writes to stdout, and sends errors to stderr. You can redirect these streams into each other and into files.
Чтобы запустить sandbox и пройти этот урок целиком, нужен соответствующий курс. Внутри - ещё много практических уроков того же уровня и сквозной прогресс.
дальше →
You just learned to assemble commands into a pipeline and send their output to files. The natural next question is who is even allowed to read and write those files. That is what we tackle next.