On Tue, Nov 01, 2011 at 04:54:06PM -0500, Dale wrote:
> Michael Schreckenbauer wrote:
> > Am Dienstag, 1. November 2011, 23:00:57 schrieb Alan McKinnon:
> >> On Tue, 01 Nov 2011 14:49:30 -0500
> >>
> >> Dale<rdalek1...@gmail.com>  wrote:
> >>> Vishnupradeep wrote:
> >>>> On Tue, Nov 1, 2011 at 2:48 PM, Mick<michaelkintz...@gmail.com
> >>>>
> >>>> <mailto:michaelkintz...@gmail.com>>  wrote:
> >>>>      emerge -1aDv app-portage/gentoolkit
> >>>>
> >>>>      revdep-rebuild -v --ask
> >>>>
> >>>> i can't use emerge command as it is shown as command not found. can
> >>>> u tell the correct path of emerge.
> >>> /usr/bin/emerge
> >>>
> >>> Little bit of learning here:
> >>>
> >>> root@smoker / # which emerge
> >>> /usr/bin/emerge
> >>> root@smoker / #
> >>>
> >>> Now you know where it is and how I found out where it is.  Trick is
> >>> remembering a command you rarely use.
> >> That won't work. The $PATH is broken so the shell can't find ls and
> >> emerge.
> >>
> >> Well, it won't find which either :-)
> >>
> >> Solution: You run which which and tell the OP which directory contains
> >> which so he can run /path/towhich emerge to find out where emerge is.
> > Or just use "type -a", because that's a builtin.
> > ~ $ type -a emerge
> > emerge is /usr/bin/emerge
> >
> > Best,
> > Michael
> >
> >
> >
> >
> 
> 
> That is better.  Now to remember that command.  ;-)
> 
> Dale

Except that both won't work in OP's case, because both look for the
executable in directories in PATH which is the OP's problem ;)

yoyo

Reply via email to