I use “/programy/trinityrnaseq_r2012-06-08/Trinity.pl” for running program of my interest. Instead, I would like just to type “trinity” or eventually “Trinity.pl” into terminal.
How can i do that? I have tried editing my .bashrc with no success. Thanks a lot.
edit: thanks, problem solved
If you are using bash and this change only needs to apply to you and not other users or processes on the system, then editing the .bashrc should work.
If you are using a different shell, then the syntax and file name may be different.