LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to exacute a .run file (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-exacute-a-run-file-402776/)

Arkan123 01-13-2006 01:58 AM

how to exacute a .run file
 
how do u exacute a .run file?

timmeke 01-13-2006 02:04 AM

This will work if the file actually is a binary executable:
set the execute permission with "chmod".
If you own the file, this can be something like:
chmod o+x the_file.run
(you 'll need to add the path to the file if it's not in the current directory).

To determine the file type, use the "file" command.
file the_file.run

Tinkster 01-13-2006 02:11 AM

Quote:

how to exacute a .run file
how do u exacute a .run file?
And if you don't want to chmod it just use
sh .run

And while you're learning: there's a spell-checker, too,
a single click (for your convenience).


Cheers,
Tink

pixellany 01-13-2006 08:06 AM

Never seen a file with extension ".run". Where did you get this?

Execution of a file first requires that it be an "executable"---typically a binary or a shell script.

If it is the $PATH, then you just type the filename. Otherwise, you need an absolute or relative pathname, eg:
./filename if you are in the same directory
/dir/dir/filename from anywhere

You also have to have execute privileges on the file---this is set with chmod

Tinkster 01-13-2006 01:51 PM

Quote:

Never seen a file with extension ".run". Where did you get this?
There's the NVidia binary drivers for one...


Cheers,
Tink

alar 01-13-2006 06:08 PM

>>And while you're learning: there's a spell-checker, too,
>>a single click (for your convenience).

ware
Oh there...
changed to where

Thanks Tink!


All times are GMT -5. The time now is 12:51 AM.