I have written on .bash_aliases
to run my shell script:
alias testing='./testing'
Problem I'm having right now is that it won't run the shell script.
On the terminal it says the "command not found".
May I know if anything wrong with what I've typed?
Edit:
I've found out that it only work after I typed source ~/.bashrc
Problem now is how do I run source ~/.bashrc
upon starting of Ubuntu when I log in?
I've found out that it only work after I typed source ~/.bashrc
Problem now is how do I run source ~/.bashrc upon starting of Ubuntu when I log in?
– Unknown Aug 20 '13 at 06:24cd /
).source ~/.bashrc
is used precisely to prevent a terminal restart when you change the bash initialization files like~/.bashrc
or.bash_aliases
- a re-login is too much – Radu Rădeanu Aug 20 '13 at 06:31