On Tue, 26 Jun 2001 20:54, Paul wrote:
> > > Say I'm in /usr/games and I type /Maelstrom from a console window. Bash
> > > types back at me, "No such file or directory," even though there most
> > > certainly is such a file, and if I ls or dir it tells me there is.
> >
> > ==================
> > If you're already in /usr/games, you might have to type:
> > ../Maelstrom [notice the leading "."] to point out that the
> > command is in the current directory.
>
> Almost right:
>
> /Maelstrom would do it.
> ./Maelstrom refers to a file in the parent directory.
>
> Paul
In the directory system, "." (one dot) refers to the current directory, while
".." (two dots) refers to the parent. So "./Maelstrom" would run "Maelstrom"
in the current directory. While I haven't tried it myself, I believe
"/Maelstrom" should work as well.
--
Sridhar Dhanapalan.
"There are two major products that come from Berkeley:
LSD and UNIX. We don't believe this to be a coincidence."
-- Jeremy S. Anderson