Both of the following commands try to open a non-existing file foo, but the error messages are a little different. What could be the reason?$ cat foocat: cannot open foo$ cat < foo-bash: foo: No such file or directory
cat gives different error when opening non-existing file
command line;io redirection;cat