πLinux Scroll
This page will feature Linux cheatsheets for quick reference when needed for various tasks. It will not include detailed information.
Knowing about a Command
Check your Current IP
List/Check TCP Connections
2>/dev/null
When you use 2>/dev/null
, any error messages generated by the command are sent to /dev/null
, effectively hiding or ignoring them.
2>
redirects the standard error output (which is represented by file descriptor2
)./dev/null
is a special file that discards any data written to it (essentially a "black hole").
Last updated