4 aliases l - 81 % problem


#1

I'm block at the snd point:
"2.In the bash profile, beneath the previous alias, add
alias hy="history"
Save the file.

Press Enter to write the filename."

i don't understand! where is my fault?
pls help me


#2

@jonathantan75020,
Give us the text you get when on the $-prompt you type

cat ~/.bash_profile

#3


#4

You need to have a clear idea of what it is you want to be doing.

The instructions are to add something in a file.
What you're doing instead is to use the command directly in the shell, I'm sure that if you stop and think for a bit, you'll agree that isn't what the instructions are asking for.

So, what does it mean to open a file? If it tells you that the file is missing, what can you do to to make it exist? What exactly should the file contain?

These are all things that you can figure out from your experience with graphical interfaces, so start by getting your intentions figured out so that you don't have to try a bunch of stuff that you can already determine isn't what you're meant to do, and likewise, you can determine what it is you need to do.

If you just know what it is you want to happen, then you can look up how to do that. From the instructions, or previous exercises, or by googling.