Comment 20 for bug 731391

Revision history for this message
Connac (e-cb-t) wrote :

Thanks again -

Using Terminal in Mac - am administrator. That's command line isn't it?

Have done the

sudo vi /usr/local/bin/bzr. That gave me what I thought was the file, with the line at the top,

#!/usr/bin/python

Which by determined use of delete, cursor keys and retyping, I changed to

#!/usr/bin/python2.6

At that stage, I had pretty much lost the command line - unless it can be used further up the page? But I thought the next command would have to go after the file I'd just edited. In any case, searching Linux for Dummies, I still can't see a save command equivalent to 'cp'

If I did the above, went back to the command line up the terminal page and typed 'sudo cp localfile /usr/local/bin/bzr' would that overwrite the file, without it complaining that I don't have rights? Sounds tantalisingly like it would.

Sorry about this - must be rather trying. If this doesn't work I'll leave you alone and go find the shallow end. It's my last post (cue music). Thanks very much.