I am new to shell scripts and doubt using & -
I have a shell script with a single line: echo Hello. The shell script is calleddemo.sh
echo Hello
demo.sh
What does he do when he runs like:
./demo.sh 0>&-
Thank.
In this case, it closes the file descriptor - standard input (0).
See also: