Thanks everyone again for your generous time and efforts. I really appreciate it.
And yes, GeoCo, I'm ready to solve this little issue ... if at all possible.
GeoCo, here's what I got for "copy and paste the exact line that leads to the error message":
Last login: Fri Mar 20 13:45:53 on ttys000
Smith-iMac:~ smithjoe$ sudo nano /private/etc/hosts
Password:
sudo: nano /private/etc/hosts: command not found
Smith-iMac:~ smithjoe$
As for RC's request ... including the cut and paste request from GeoCo:
Last login: Fri Mar 20 13:45:53 on ttys000
Smith-iMac:~ smithjoe$ sudo nano /private/etc/hosts
Password:
sudo: nano /private/etc/hosts: command not found
Smith-iMac:~ smithjoe$ sudo bash
bash-3.2# which nano
/usr/bin/nano
bash-3.2# nano /etc/hosts
bash-3.2# /usr/bin/nano /etc/hosts
bash-3.2# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
bash-3.2# file="/etc/hosts"
bash-3.2# app="nano "
bash-3.2# $app$file
bash-3.2# echo -n $app$file | hexdump -C
00000000 6e 61 6e 6f 20 2f 65 74 63 2f 68 6f 73 74 73 |nano /etc/hosts|
0000000f
bash-3.2# exit
exit
Smith-iMac:~ smithjoe$