In my bashrc i want to add an alias which would run a shell script.
I am trying the below :-
export termlist=/usr/data/log
export runterm=cd $termlist; bash termlist.sh
termlist.sh is the shell present in /usr/data/log directory. I want to just type runterm in the terminal and it should go to this directory and run the shell script. but its giving error as :
bash termlist.sh : command not found