Stuck on exercise 4 81%


#1

stuck on exercise 4 81%.


#2

Is this the task that you are stuck at?

In the command line, use source to activate the changes to the bash profile for the current session.

Show me what happens when you attempt to use the source command.


#3

Yeah I am stuck on that too...
"In the command line, use source to activate the changes to the bash profile for the current session"
Can you please explain it


#4

I have now worked out what to do!
( After saying i cant do it five mins ago )
After your have written nano ~/.bash_profile
You put this in:
alias hy="history"
alias ll="ls -la"
source ~/.bash_profile

Hope it helps


#5

Don't think he needed help with it. I think he was asking you if that was what YOU were stuck on.


#6

i appologize for replying late, i tried the same code as above and it didnt work
nano ~/.bash_profile
alias hy="history"
alias ll="ls -la"
source ~/.bash_profile


#7

It isn't clear -- did you first save and exit your .bash_profile before you ran the source command? -- because that is what you must do.


#8

it is not allowing me to save, nano is not showing thats the issue i am having. thanks


#9

Are you doing the following

To save:
- pressing and holding the control key
- while still holding the control key, press the o (letter) key
- that should offer you a filename, press enter/return to accept it

To exit:
- pressing and holding the control key
- while still holding the control key, press the x key


#10

yes exactly doing that but not working on the current excercise. thx


#11

So you did this successfully on previous exercises?
Is that part that fails, the control - o part?
Mac or Windows?


#12

windows. i cant pass on to the next exercise thats why.
thanks for your help tho


#13

I'm really confused now :smile:

Can you post a screenshot of your whole browser window so we can see exactly what you are seeing?


#14

yaa finally
now it worked i switched computer and it worked. i will try it on the previous computer and try to take a screenshot. thx


#15

THANK YOU,

You saved my day


#16

I can’t get this to work to save my life


#17

What did you do to get it to work? I’m using mac os