Skip to content

Mastering PHP and Laravel

Never stop learning!

  • Home
  • Blog Posts
  • Books
  • Humor

What does > /dev/null 2>&1 mean?

Back to blog posts

I came across this recently in a script, so I searched for it to gain an understanding of what it means.

Here’s what I found:

http://www.xaprb.com/blog/2006/06/06/what-does-devnull-21-mean/

December 18, 2014

Copyright © 2026 Mastering PHP and Laravel. All rights reserved.