Trying to skill up in Linux. I have written a bash script to google search from the terminal. It works adequately an I run it by typing
~/WHAT. So far so good. I can also run it using ./WHAT.
I then edit the bashrc file and add this at the end
alias < WHAT >='./WHAT'
But then when I run
source ~/.bashrc
I get the error
=./WHAT: No such file or directory
Where have have I gone wrong? Thanks in advance for your help!
< THE ALIAS NAME >
are unhelpful here~/bin
and simply making sure that$HOME/bin
is added to yourPATH