Why do I get a “Command not found” error when I type the name of an executable file (i.e “a.out”) that is in my current directory?
This is probably due to the fact that the current directory is not specified in the list of directories that are searched when a command is given. This list is called your “path”, and you can see it by typing “echo $PATH”. If there is no single dot (‘.’) somewhere in this PATH, then your current directory may be ignored whenever you type a command. such as “a.out”.
Related Questions
- The Bid4Build Program does not start after it has been installed and there is an error which mentions that the "MDE" file is not a valid file type. What does this mean?
- Why do I get a "Command not found" error when I type the name of an executable file (i.e "a.out") that is in my current directory?
- Which file type does E-Data use to store all directory information in?