How to open a file in nano

step one: open this file in nano

https://www.codecademy.com/courses/learn-the-command-line/lessons/learn-command-line-environment/exercises/configuring-environment-nano

Seems like it showed me how to open nano and then just let go of the wheel.
How do I open a file in nano?

nano <filename>

Example, if file name is foo.txt

nano foo.txt

O I C.
I was opening that hello.txt file. I must’ve misunderstood the instructions. I see now that put simply, just type nano in front of whatever file you’re opening to open it in nano. thank you for your help.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.