I am trying to understand named pipes in the context of this particular example.
<(ls -l) in my terminal and get the output as,
bash: /dev/fd/63: Permission denied.
If I type
cat <(ls -l), I could see the directory contents. If I replace the
echo, I think I get the terminal name (or is it?).
echo <(ls -l) gives the output as
Also, this example output is unclear to me.
ls -l <(echo "Whatever") lr-x------ 1 root root 64 Sep 17 13:18 /dev/fd/63 -> pipe:
However, if I give,
ls -l <() it lists me the directory contents.
What is happening in case of the named pipe?