FAQ: Environment - Nano

you don’t open hello.txt, you have to open hiphop.txt.

navigate to the correct directory, issue an ls command to see the files in the directory, then do nano hiphop.txt which opens the editor, add the name specified, then follow the instructions to save and close the file.

like:

pwd
/home/ccuser/workspace/music
$ ls
artists
$ cd artists
$ pwd
/home/ccuser/workspace/music/artists
$ ls
folk.txt  hiphop.txt  jazz.txt  rock.txt
$ nano hiphop.txt
$ cat artists/hiphop.txt #don't do this. just issue the following command below to verify your changes were saved.
$ ls
folk.txt  hiphop.txt  jazz.txt  rock.txt
$ cat hiphop.txt
Kendrick Lamar
2 Likes

I need help with the first question on how do open the
nano file


I don’t know how to go about this
I need help!!!

You are entering commands into the text editor. To close nano and return to the command line, press CTRL and X at the same time. Nano is a text editor, like notepad.