Page tree
Skip to end of metadata
Go to start of metadata

In Linux and Windows, sending standard error or standard output to null decreases steps in the process . Directing all outputs to null means the system won't have to read or store any information as part of the file move/delete process.

For powershell:


for cmd.exe:

command > nul 2>&1

for linux/unix:

> /dev/null 2>&1

  • No labels