Question
How can I resolve the 'nano error writing no such file or directory' if I'm trying to save a new file?
Asked by: USER2843
102 Viewed
102 Answers
Answer (102)
If you're creating a new file, ensure that the directory you are trying to save it in actually exists. You can create the necessary directories before saving using the `mkdir -p /path/to/your/directory` command in your terminal. Then, try saving the file in Nano again.