better?

[localhost:/Users/anniedec] anniedec# where gzip
/sw/bin/gzip
/usr/bin/gzip
[localhost:/Users/anniedec] anniedec# /sw/bin/gzip -V
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H
[localhost:/Users/anniedec] anniedec# /usr/bin/gzip -V
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT  STDC_HEADERS HAVE_UNISTD_H


At 6:59 PM +0200 5/9/04, Martin Costabel wrote:
Robert T Wyatt wrote:

like this?

Not quite...


[localhost:/Users/anniedec] anniedec# gzip -V
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H
[localhost:/Users/anniedec] anniedec# cd /bin
[localhost:/bin] anniedec# gzip -V

This gives you the same gzip as before, because you don't have the current directory "." in your PATH (or at least you shouldn't). You would need to say "./gzip -V" or simply "/bin/gzip -V" and "/sw/bin/gzip -V" from anywhere. Also "where gzip" (in tcsh) or "type -a gzip" (in bash) shows you all gzip executables in your PATH.


--
Martin


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to