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