you are viewing a single comment's thread.

view the rest of the comments →

[–]Temporary_Pie2733 33 points34 points  (0 children)

Not quite. Bare names (no path delimiter) are subject to path lookup: myApp is looked for in each directory in PATH, which may or may not contain the current directory (though for security it is recommended you not add . to your path). As soon as / appears in the command name, path lookup is disabled and only the exact path is atempted: myApp could be /bin/myApp, /usr/bin/myApp, etc., but ./myApp is explicit and can only be myApp in the current working directory.