Learn the command line - nano


#1

https://www.codecademy.com/courses/learn-the-command-line/lessons/environment/exercises/nano?action=lesson_resume

I have followed the instructions, and even though I can make it print my name using the cat command, it does not print when I follow the instructions. What do I do?

$ source ~/.bash_profile
bash: source: /home/ccuser/.bash_profile: is a directory
$ cat Uri
echo “Welcome, Uri”


#2

It appears as though you may have created a file called Uri rather than putting Uri into your .bash_profile. Otherwise you would not be able to cat Uri

Please use cat .bash_profile to show us what the bash_profile file says. In there it should say echo "Welcome, your name"


#3

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