Trying to pass the output of echo into mkdir command

Viewed 4107

I know that echo command prints all it's arguments and it does not reads from stdin.

But when I am trying to make echo NAME | mkdir it tells me: mkdir: missing operand.

I tried to read from man mkdir, but it does not tells me where mkdir reads from.

2 Answers
Related