running a program
David Fletcher
dave at thefletchers.net
Wed Nov 17 18:10:39 UTC 2010
On Wed, 2010-11-17 at 09:15 -0500, Ash Wyllie wrote:
> >./ack
>
As I understand it, if you want to run an executable, Linux will only
run something in a directory listed in PATH unless you give it the
absolute path to the executable. .. points up a directory but . means
current directory, so ./ is the same as typing in the absolute path
from / to the current directory. Am I correct?
Experimenting,
ls
gives me the contents of the current directory, as does
ls .
but ls ..
gives me the contents of the directory above.
Dave
More information about the ubuntu-users
mailing list