Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Quite A Stupid Question..., I can't run executable files
Gunz
post Jan 1 2005, 10:32 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 1-January 05
Member No.: 4,420



Everytime I try to run an executable file, by typing it's name, I get the message: "bash: <filename>: command not found"

I really have no clue what to do, please help.
Go to the top of the page
 
+Quote Post
Gunz
post Jan 1 2005, 10:38 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 1-January 05
Member No.: 4,420



K, found it (I always find answers after i've asked questions... tongue.gif ), just preceding it by ./ did the trick
Go to the top of the page
 
+Quote Post
michaelk
post Jan 2 2005, 08:40 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



./ is a shortcut for current working directory.

linux unlike windows will only use the path environment when searching for a command.
To see the path environment for your user:

echo $PATH
Go to the top of the page
 
+Quote Post
Jim
post Jan 2 2005, 04:58 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



You would be amazed at the number of threads you can find that I started where I fnid the answer after asking the question. Seems like as soon as you post you figure it out, thats why I always post.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 02:25 PM