Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
How To Create a New User and Grant Permissions in MySQL
How to Create a New User Let’s start by making a new user within the MySQL shell: CREATE USER ‘newuser’@’localhost’ IDENTIFIED BY ‘password’; Sadly, at this point newuser has no permissions to do anything with the databases. In fact, if newuser even tries to login (with the password, password), they will not be able to […]
AWK and Regular Expressions to Filter Text or String in Files
AWK is an interpreted programming language. It is very powerful and specially designed for text processing. AWK – Basic Examples This chapter describes several useful AWK commands and their appropriate examples. Consider a text file marks.txt to be processed with the following content − 1) Amit Physics 80 2) Rahul Maths 90 3) Shyam Biology […]
Connect Cisco SPA400 SIP Gateway (4 FXO Ports) with Asterisk
On Asterisk /etc/asterisk/sip.conf, you need to configure the account exactly similar to User ID of SPA400 The entries in sip.conf to enable Asterisk register to SPA400 are as follow: [general] register => 9000@192.168.0.6/9000 Replace 9000 with the value you entered in the User ID of SPA400, and replace 192.168.0.2 with the IP address of the […]