Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

./



-----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-----





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org