Linux Shell script example 1
A example in BASH is as follows to display welcome message 5 times with for loop. #!/bin/bash for i in
Read moreLinux shell script – for loop using ranges or counting The for loop can be set using the numerical range.
Read moreShell Script Example – Linux for ((j=12;j<=31;j++)); do echo $j year=2020 month=01 day=$j mkdir /mnt/recording/final/11/$year-$month-$day results=($(mysql –user name -ppassword -h
Read moreShell Script : Nested for loop statement Nested for loops means loop within loop. They are useful for when you
Read moreRename Multiple Files In Linux using mmv command mmv moves (or copies, appends, or links, as specified) each source file matching
Read moreasterisk: sip remove header SIPRemoveHeader() Synopsis Remove SIP headers previously added with SIPAddHeader Description SIPRemoveHeader() allows you to remove headers
Read moreAsterisk:[general] section of sip.conf SIP Configuration – general The [general] section of sip.conf includes the following variables: allowsubscribe = yes|no :
Read moreRegister a sip client to asterisk In sip.conf under [general] add a register definition: Format: register => user[:secret[:authuser]]@host[:port][/extension] or register => fromuser@fromdomain:secret@host or register => fromuser@fromdomain:secret:authuser@host:port/extension
Read moreAsterisk : Remote-Party-Id If you have set “sendrpid=yes” in the settings for the destination peer in sip.conf then Asterisk will
Read moreInstall Python 3.8 on CentOS 7 / CentOS 8 Step 1: Install Python Dependencies As we’ll install Python from source,
Read more