file execution
how does somone execute a file.. liek run it just liek an exe file in windows
on the x window system <desktop> from bash thanks all |
First, be sure the permissions are set to give you execute priviliges.
Then, simply type the filename--if it is in a directory listed in $PATH. If not, type the absolute or relative path to the file. Most commonly, for files not in $PATH, you will see "./filename" This means run filename here (in the current directory). Such an entry overrides the search in $PATH--thus you can have two files with the same name, and control which one runs by specifying the path. |
All times are GMT -5. The time now is 04:58 PM. |