./
Dan Barrett
nullpointer at pobox.com
Mon Nov 10 17:10:46 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 10 November 2003 17:03, eric wrote:
> hey. it's not easy teaching yourself linux. here's one for somebody
> who's bored tonight... what does ./ mean?
Think of it as shorthand for "the current directory."
> if i cd to /usr/sbin and then type tripwire, nothing happens, but if i
> type ./tripwire off we go. why?
Because /usr/sbin isn't in your PATH environment variable. Without
qualification, the shell scans your PATH. Once you add the ./, it looks in
the current directory, which happens to be the right one, and executes the
binary.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/sAzmsIjNiQTGkXARAkegAJkBO7ZANLrMe0bB3XogdCQimCmZgQCeIsaV
HfdQTfjGTdNg32Ga80EL6X4=
=IbGg
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list