Quote:
Originally Posted by chebarbudo
[...]
What is <<<? Is this a way of doing echo?
|
Here string. It's not available in all shells.
For more information search your shell manpages for
Here Strings.
Quote:
I understand the tr -d but what does 2>&- means?
redirect errors to &-? What is &-?
|
2>&- closes the
file descriptor 2. This is a bad practice and you should avoid it. My post was for illustration purposes only.