Connac, try using 'pico' to edit the file instead. So it would be:
sudo pico /usr/loca/bin/bzr
Vi is not for the command-line newbie, it's pretty arcane. Pico should be easier to use, I hope.
Otherwise, do the following in your home directory:
1. cp /usr/local/bin/bzr bzr
2. Edit the 'bzr' file in your home directory with Text Editor or a similar plain text editor and change the first line as described above.
3. Save that file.
4. sudo cp bzr /usr/local/bin/bzr
Connac, try using 'pico' to edit the file instead. So it would be:
sudo pico /usr/loca/bin/bzr
Vi is not for the command-line newbie, it's pretty arcane. Pico should be easier to use, I hope.
Otherwise, do the following in your home directory:
1. cp /usr/local/bin/bzr bzr
2. Edit the 'bzr' file in your home directory with Text Editor or a similar plain text editor and change the first line as described above.
3. Save that file.
4. sudo cp bzr /usr/local/bin/bzr