Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Trying to edit the prior using nano /etc/network/interfaces/ in Debian and get the following error:
Error: /etc/network/interfaces/ is a directory!
I need to fix this?
ls -l /etc/network/interfaces
You have to specify a file name for nano. That what you specified is a directory (ending in a slash /, gives that a away apart from the error message).
On my Ubuntu system that is actually a file (and nano gives no error if it is and you have the trailing /)
I know what you are up to, you can edit a directory using vi editor. But when you use nano you will get a error. So edit the directory using vi editor.
Required, but never shown