LEARN / GUIDE
Pipes and redirections
A pipe sends standard output to another program. > redirects output and may truncate a file; >> appends. Standard error is a separate stream.
What to remember
Downloaded scripts piped into a shell execute remote code. Download, verify and review content before deciding whether to run it.
An example to inspect
du -h --max-depth 1 -- . | sort -hTry the related tool ↗Examples target GNU/Linux and Bash. Read your locally installed manual before applying commands to important data.