shell не бросится ее выполнять "так, как понял", а скажет, что команда неправильная.
Че? Да прям так и бегом и не бросится:
Код:
$ strace -e trace=stat /bin/bash wtf
stat("/home/monkey", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
stat("/usr/local/bin/wtf", 0x7fff3e7cea40) = -1 ENOENT (No such file or directory)
stat("/usr/bin/wtf", 0x7fff3e7cea40) = -1 ENOENT (No such file or directory)
stat("/bin/wtf", 0x7fff3e7cea40) = -1 ENOENT (No such file or directory)
stat("/usr/bin/X11/wtf", 0x7fff3e7cea40) = -1 ENOENT (No such file or directory)
stat("/usr/games/wtf", {st_mode=S_IFREG|0755, st_size=1186, ...}) = 0
stat("/usr/games/wtf", {st_mode=S_IFREG|0755, st_size=1186, ...}) = 0
stat("/usr/games/wtf", {st_mode=S_IFREG|0755, st_size=1186, ...}) = 0
stat("/usr/games/wtf", {st_mode=S_IFREG|0755, st_size=1186, ...}) = 0
stat("/usr/games/wtf", {st_mode=S_IFREG|0755, st_size=1186, ...}) = 0
stat("/usr/games/wtf", {st_mode=S_IFREG|0755, st_size=1186, ...}) = 0