When I issue:
[dave@dhost ~]$ which tar | ls -l
I get the output of ls -l of the pwd.
ls -l
I expected to get:
-rwxr-xr-x. 1 root root 395472 Feb 21 2013 /bin/tar
Why doesn't the pipe work as I expected in this case?
Aucun commentaire:
Enregistrer un commentaire