Created
December 8, 2020 20:42
-
-
Save ezhov-da/3e193fa8528642de625b8df8c6b56af0 to your computer and use it in GitHub Desktop.
Операция перенаправления нескольких потоков данных
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Для перенаправления данных как из стандартного потока вывода, | |
так и из стандартного потока ошибок в один и тот же файл следует использовать конструкцию 2>&1. | |
[paul@RHELv4u3 ~]$ find / > allfiles_and_errors.txt 2>&1 | |
[paul@RHELv4u3 ~]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment