I’m in the linux prompt a lot on my ASL3 node. There are some commands
that I type frequently, and I decided to simplify my life by using Linux’s Alias feature.
Go to the root directory using SSH, so in the /root directory, there’s a file called .bashrc.
Edit this file and you can put the same lines in yours I have in mine.
This is not the code to put in the file, it’s what I have programmed for my shortcuts:
t for the tune menu
e to connect to ECR
w to connect to WIN system
p for parrot mode
lo for local only, no network disable parrot
l (lower case L) to show what network I’m connected to
a Asterisk prompt with debug
r To edit the rpt.conf file
Here is the code to place at the bottom of your .bashrc file:
alias t=’simpleusb-tune-menu’
alias e=’asterisk -rx “rpt fun 29600 *57″‘
alias w=’asterisk -rx “rpt fun 29600 *55″‘
alias p=’asterisk -rx “rpt fun 29600 *58″‘
alias lo=’asterisk -rx “rpt fun 29600 *54″‘
alias l=’asterisk -rx “rpt lstats 29600″‘
alias a=’asterisk -rvvvv’
alias r=’nano /etc/asterisk/rpt.conf’
Let me know how it works.