I have written this simple type alias script in my bin directory in home
#!/bin/sh
alias kp='ls –L'
alias ldir='ls –aF'
alias copy='cp'
and saved it in the name myenv. Then I have changed the mode using
chmod +x /bin/myenv
then execute it using the command
myenv
but after this when I use kp it says kp command not found. Why?