I tried to execute:
find ~/ -name "*foo*" -exec "ls -la {}" \;
And it printed:
find: 'ls -la /home/users/MyUser/fooBar': No such file or directory
find: 'ls -la /home/users/MyUser/Barfoo': No such file or directory
Also ls
is aliased to ls --color
.
What kind of tricky trick happened here?