Using the Nano text editor, I'm trying to save and exit a file. I already have the file named.
I click Ctrl+X to exit. And then I click Y because I want to save the file. It asks for file to write, I pressed Enter to use the default name because its already named.
The problem is I get this message.
[Error writing /filename: Permission denied]
What am I doing wrong?
ls -l *filename*
will show the permissions for that file.