4 replaced http://stackoverflow.com/ with https://stackoverflow.com/
source | link

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above mean?

here's an exampleexample where it's suggested

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above mean?

here's an example where it's suggested

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above mean?

here's an example where it's suggested

    Tweeted twitter.com/#!/StackUnix/status/645801434114621440
3 added 5 characters in body
source | link

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above mean?

here's an example where it's suggested

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above?

here's an example where it's suggested

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above mean?

here's an example where it's suggested

2 add link to demonstrate use case
source | link

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above?

here's an example where it's suggested

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above?

I understand > /dev/null redirects things to /dev/null which acts like a blackhole. However, I don't understand what < /dev/null means. I saw some script written like this:

nohup myprogram > foo.out 2> foo.err < /dev/null &

So, what does < /dev/null in the code above?

here's an example where it's suggested

1
source | link