basic question -linux path..(/usr/bin, /usr/local/bin)
Reuben D. Budiardja
techlist at voyager.phys.utk.edu
Tue Mar 29 13:52:14 UTC 2005
On Tuesday 29 March 2005 08:17, bruce wrote:
> paul,
>
> when i do an
> #echo $PATH
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/
>b
> in:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/java/j2sdk1.4.1_02/bin:/opt/condo
>r -6.6.6/sbin:/opt/condor-6.6.6/bin:/root/bin
>
> which says that i have both '/usr/local/bin' and '/usr/bin'.
>
> when i do
> #mysql, i get
> -bash: /usr/local/bin/mysql: No such file or directory
That is funny, it seems that there is a script under /usr/local/bin called
'mysql', which isn't really a mysql binary that tries to run. And the order
path on your $PATH variable is also strange, unless you change it yourself.
Try to type 'which mysql', you should get a file with a complete path. Then do
an 'ls -lah' on that file, or in a single line, type the following in
console:
$> ls -lah `which mysql`
Notice the backticks (it's the key left of 1), they are NOT quote.
RDB
--
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennessee, Knoxville, TN
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------
More information about the fedora-list
mailing list