WHM/cPanel – List of all ports and a script to test them
Here is a Bash script to test all inbound cPanel ports: 20 FTP 21 FTP 22 SSH 25 SMTP 26 SMTP 53 DNS 80 HTTP
Here is a Bash script to test all inbound cPanel ports: 20 FTP 21 FTP 22 SSH 25 SMTP 26 SMTP 53 DNS 80 HTTP
Count lines in file wc -l laravel.log 169613 laravel.log Word count lines in Laravel.log Truncate lines from the beginning of a file tail -n +169000
At times on a Linux server you want to switch to another user. One example could be one a shared server whereby you need to
Description A shebang or bang is a line of text at the top of a Bash script which tells the Unix operating systems which interpreter
Background Bash is very powerful for handling dates and times, but you need to get to grips with it’s syntax. This article contains a few