6/11 Can't Make it Past Step 1


#1



https://www.codecademy.com/courses/learn-the-command-line/lessons/environment/exercises/variables


I've typed the nano code, and I was able to get into the nano, but it wouldn't check off for number 1. Can someone please help? Thank you.



#2

Just spent an hour on this - grrr. Having looked it up I might suggest the following which worked for me;

  1. The name of the variable is PS1 - that last is a number, despite the way it looks in the exercise.
  2. After typing the CTRL-O check the filename and manually input ~/.bash_profile if necessary.

The point is that the PS1 variable holds the command prompt ($ by default) and this changes it for the current session.

Good luck!


#3

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