Learn the command line - nano



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”


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"


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