Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-02-2005, 11:48 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
How do I run a ¨.run¨ file?

If the name is, how do I run the file using terminal program? When I try going / it doesnt work and I get this error...

[root@localhost jube]# /
bash: / No such file or directory

Old 07-02-2005, 11:53 AM   #2
Registered: Feb 2004
Location: UK
Distribution: RHEL/Fedora, Solaris 11, NetBSD, MacOS
Posts: 223

Rep: Reputation: 42

It's because you need to put a . - that's dot in front of your /

This is how you reference the current working directory in a Unix-based system.


Old 07-02-2005, 09:08 PM   #3
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
To elaborate a bit more, there's a couple of ways to run a program in Linux (it doesn't matter what it ends in, any file can be set as executable and it usually doesn't have an extension). First, if the file is in your PATH (type "echo $PATH" to see all the folder in your PATH), you can just type the name of the file itself and it will run. If it's not, you have to type the full pathname to the file. For example, if it's in your home directory, you can type "/home/yourusername/filename". As SteveK said, if you're already in the same directory as the file, you can abbreviate the full path to the current directory by typing a dot, so "./filename"
Old 07-03-2005, 03:12 AM   #4
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,088

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
...And you also need to make sure the file is "executable" by:

chmod +x
Old 07-03-2005, 10:12 PM   #5
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
or you may simply try:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot get to run properly doctorwebbox Linux - Hardware 0 02-06-2005 06:18 AM
Not able to run audio Cds (not MP3) and run VCDS.. satish427 Linux - Newbie 4 09-24-2004 11:27 PM
Trying to run photoshop in wine. Install, but wont run. bruno buys Linux - Software 14 07-15-2004 04:30 PM
how to run file *.run pixelV Linux - Newbie 1 03-10-2003 08:01 AM
Java applets run fine in Konqueror, but won't run in MS IE. OAnimal Linux - Software 7 12-04-2002 06:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration