Как отправить вывод команды в файл и не только
-
command > output.txt
The standard output stream will be redirected to the file only, it will not be visible in the terminal. If the file already exists, it gets overwritten.
-
command >> output.txt
The standard output stream will be redirected to the file only, it will not be visible in the terminal. If the file already exists, the new data will get appended to the end of the file.
-
command 2> output.txt
- Подробнее о Как отправить вывод команды в файл и не только
- Войдите, чтобы оставлять комментарии