Nano

I installed nano on FreeBSD 8.0 through ports and i got an issue the the command and the file to open it says command not found even though it installed without any errors I updated the ports and everything. Also where is the pico editor.
 
Sorry I have been away from FreeBSD for a while I have been uusing Linux. How can I change the shell for all users to the bash shell? I was using csh shel but that first command didn't work hash -r my shell is csh. Thanks for all your assistance
 
I typed in echo $Shell and it shows /usr/local/bin/bash should it show this instead just bash I used chpass command
 
Nano or pico

I still can't get nano to start it says command not found. Where is pico at in the ports directory in version 8.0 Freebsd I had installed pico pine but when I tried to use that i got the same error command not found. for both
 
nano should be at /usr/local/bin/nano, and pico should be at /usr/local/bin/pico. Nearly all ports install their binaries to /usr/local/bin or /usr/local/sbin.

When you install a port, you have to tell the shell to re-read the programs in its path. For csh-type shells, that command is [cmd=]rehash[/cmd], for bash-type shells it's [cmd=]hash -r[/cmd].

You can also simply log out, and log in again.
 
Back
Top