Unix administration - /usr/local/bin?

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > September 2004 > /usr/local/bin?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author /usr/local/bin?
Alexander Adam

2004-09-23, 8:48 pm

hi!

I've sucessfully compiled and installed cvs source into /usr/local/bin

Now I was expecting the bash shell to know the 'cvs' command but it doesn't.
Even when I am in the /usr/local/bin dir I am unable to run the cvs command
but its there so what's wrong?
Sorry for the maybe stupid question but I'm pretty new to unix/linux and
would appreciate any help on that!

thanks a lot,
alex


Chris F.A. Johnson

2004-09-23, 8:48 pm

On 2004-09-24, Alexander Adam wrote:
> hi!
>
> I've sucessfully compiled and installed cvs source into /usr/local/bin
>
> Now I was expecting the bash shell to know the 'cvs' command but it doesn't.
> Even when I am in the /usr/local/bin dir I am unable to run the cvs command
> but its there so what's wrong?
> Sorry for the maybe stupid question but I'm pretty new to unix/linux and
> would appreciate any help on that!


PATH=$PATH:/usr/local/bin

--
Chris F.A. Johnson http://cfaj.freeshell.org/shell
========================================
===========================
My code (if any) in this post is copyright 2004, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
Scott Richardson

2004-09-23, 8:48 pm


"Alexander Adam" <nospam@please.com> wrote in message
news:cj00ok$dfb$05$1@news.t-online.com...
> hi!
>
> I've sucessfully compiled and installed cvs source into /usr/local/bin
>
> Now I was expecting the bash shell to know the 'cvs' command but it

doesn't.
> Even when I am in the /usr/local/bin dir I am unable to run the cvs

command
> but its there so what's wrong?
> Sorry for the maybe stupid question but I'm pretty new to unix/linux and
> would appreciate any help on that!
>
> thanks a lot,
> alex
>


Check your PATH env variable, and set it properly
Then, logoff, then log back on, if it still does not work.


Laurenz Albe

2004-09-24, 7:49 am

Chris F.A. Johnson <cfajohnson@gmail.com> wrote:
>
> PATH=$PATH:/usr/local/bin


.... and, if it still doesn't work,

chmod 0755 /usr/local/bin/csv

Yours,
Laurenz Albe
Mahesh Kumar Reddy.R

2004-09-26, 5:55 pm

Hi
And also don't forget to execute your bash profile file(in linux bash
file is .bash_profile)


"Scott Richardson" <CheetahFTL@attbi.com> wrote in message news:<EML4d.356717$8_6.332663@attbi_s04>...
> "Alexander Adam" <nospam@please.com> wrote in message
> news:cj00ok$dfb$05$1@news.t-online.com...
> doesn't.
> command
>
> Check your PATH env variable, and set it properly
> Then, logoff, then log back on, if it still does not work.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com