STDOUT Commands Cheat Sheet

Here is a cli commands cheat sheet for STDOUT command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is STDOUT command?

Add some data here

        # To redirect stderr to stdout:
some-command 2>&1

# To redirect stdout to :
some-command > 

# To redirect stderr to :
some-command 2> 

# To redirect all output (stderr and stdout) to file:
some-command >  2>&1

# Replace  with `/dev/null` to silence output

Check out the STDOUT command documentation .

You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list