Forum Question: Nano Editor – Delete a txt

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

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

    3/18/11 @ 2:25 pm

    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.

    3/18/11 @ 2:39 pm

    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.