Can anyone explain why the command below produces the following error:
cannot open `{}' (No such file or directory)
Command
$ ls -al|grep -v '^d\|^$'|awk '{print $10}'|xargs file '{}'
I get the results I expected but with an error
{}: cannot open `{}' (No such file or directory)
cpuinfo: empty
cygdrive: symbolic link to /cygdrive
devices: empty
filesystems: empty
loadavg: empty
meminfo: empty
misc: empty
mounts: symbolic link to self/mounts
partitions: empty
self: symbolic link to 19812
stat: empty
swaps: empty
uptime: empty
version: empty