Input/Output Redirection
sudo ls /root
[sudo] password for user: # This is the std input
snap # This is the std output
ls /root
ls: cannot open directory '/root': Permission denied # This is the std errorRedirection symbols
ls /etc/ > etc-contents.txt
# The content of the file is the same as the normal content of the commandPipes
Last updated