Alias 2


#1

In the bash profile, beneath the aliases, on a new line, type

export USER="Jane Doe"

Feel free to use your own name.

Save the file.

Press Enter to write the filename.

Exit nano.

Finally, clear the terminal.

so i did that. but it isnt checking the box and allowing me onto the next step. why?


#2

Can you take me through the process of what keys you're pressing, or what you're typing at each step? That can help to identify the problem :slightly_smiling:


#3

export USER= "Jane Doe"
Ctrl O
Ctrl X
clear
ive already done it a good 3 times


#4

and ive tried reseting the file just to try again and when i did the program recognise USER "Jane Doe" but the box didnt get checked


#5

Are you typing this in first before doing anything else? nano ~/.bash_profile
then type in the first line and continue to do everything else

(make sure you spell things right also)


#6

yeah, ive done that
maybe its a bug?


#7

echo "Welcome, Jane Doe"
alias pd="pwd"

alias hy="history"
alias ll="ls -la"
export USER= "Jane Doe"

this is what comes up


#8

Shouldn't be, try to refresh using either (f5 or ctrl + f5) you will have to re-try it again after. If not im not sure whats causing it.

@stetim94 anything I've missed ?


#9

alright, thanks.
i think ill just try it again later and see if it works then.


#10

I had the same problem. Many attempts later I deleted all previous Nano edits and removed space "USER="JaneDo" and it worked


#11