Executing files which are not in current directory
I want to execute a file which is not in the current directory. There is an argument to this executable which is a .cfg(configuration file). It is in the same directory as the executable (but not in the current directory).
current_directory$ ./inside_current_directory/executable argument.cfg
It does not work. It says can not read argument.cfg.
What I am missing here?