FAQ: Environment - Aliases I

Such a simple solution lol. Thanks again!

1 Like

Hey thank you for putting this answer in. I followed this to the letter and it hasn’t worked at all. Any tips?

Indeed, Thank you for giving us an answer to get around this technical problem.

1 Like

first of all make sure there are no spaces before and after “=”, i.e. pd=“pwd”

I can not move the cursor on a new line

try this
$ nano ~/.bash_profile
bash: $: command not found
$ echo “Welcome, Codecademy Learner”
bash: $: command not found
$ Welcome, Codecademy Learner
bash: Welcome,: command not found

$ echo “Welcome, Codecademy Learner”
$
$ nano ~/.bash_profile
$
$ source ~/.bash_profile
$ pd
/home/ccuser/workspace/music
$

$ nano ~/.bash_profile
$ echo “Welcome, Codecademy Learner”
$ Welcome, Codecademy Learner
$
$
$ echo “Welcome, Codecademy Learner”

$
$ nano ~/.bash_profile
$
$ source ~/.bash_profile
$ pd
/home/ccuser/workspace/music
$

I was having the same problem but I was giving whitespaces before after the = sign

i got the same problem. I can run code, when i type pd, it also give pwd function like instructions want.
But i cannot pass to go the next step. I try to follow advise from this FAQ. but nothing to happen.
Has anyone provide me the better way to solve this question ?