MacMost Q&A Forum • View All Forum QuestionsAsk a Question

Nano Editor – Delete a txt

How do I delete a file I created with nano (I saved it using the writeout command)?
—–
Tommy

Comments: 2 Responses to “Nano Editor – Delete a txt”

    13 years ago

    Do you mean Nano, the text editor in the command line?
    You should be able to drag it to the trash like any other file.
    If you are still in the Terminal, then you can use the rm command.

    Tommy
    13 years ago

    Thanks, Gary.

    I did ls test.txt and it showed me that it was located in my home folder. I dragged it to the trash,. I feel stupid now, because I didn't look in my home folder.

    I'm going to learn more about Nano and the other editors in the coming days.

    Thanks for the help!

Comments Closed.