Re: trying to change shebang using vi
| From: | Stowe Spivey | Date: | Tue, 12 Oct 2004 18:07:33 +0000 |
| Subject: | Re: trying to change shebang using vi | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14883@lists.php.net to get a copy of this message | ||
Thanks for this. I can get to the file and see what I need to
change. However, after I type "i" to insert in vi, I can not use
the delete key. In fact, I can't use the delete key at all. If
there another delete that is mapped fifferently for this app? A
good tutorial link?
Many thanks!
> > > Okay - "which php" displayed /bin/php.
> > >
> > > I really appreciate ANY help as I am new to PEAR and a newbie
> to
> > > linux also.
> > >
> > > Stowe
> >
> > $ vi /usr/local/bin/pear
> >
> > in vi, type "i" and then change /usr/local/bin/php to /bin/php
> > (delete
> > key and typing :) hit the ESC key, and then type ":wq" and hit
> > enter.
> > Now this will work
> >
> > $ pear list
> >
> > Greg
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com