Entering edit mode
8.9 years ago
cabraham03
▴
30
Hi, I will like to use my own perl scripts as any other command, I mean as "ls, chmod, cd, etc."
Example I have a perl script used to convert fastq file to fasta file and it is executed as:
perl fastxQA.pl [argument1] [argument2]
and I will Like to use just like:
fastxQA [argument1] [argument2]
I just moved the script fastxQA.pl to /usr/local/bin
and I give the permission (chmod 700 fastxQA.pl
) and it works like:
fastxQA.pl [argument1] [argument2]
but I will like to use it without the pl extension!
Right now I have few personal script and I will like to use like any other shell command; bye the way I have a Mac OS X
Thanks So Much!