I am under Ubuntu 12.04 LTS.
I have added such line to ~/.bashrc
alias myconf="sudo nano /opt/nginx/conf/sites-available/efiling"
I tried with single quotes too:
alias myconf='sudo nano /opt/nginx/conf/sites-available/efiling'
Then I logged out and logged in again.
test@STORK:~$ myconf myconf: command not found
test@STORK:~$ source ~/.bashrc it works.
Can Anyone help me?