Articles
Check Apache Active Connections: echo "Apache:"; netstat -plan | grep :80 | awk {'print $5'} |...
Advanced Bash Environment Variables TutorialBASH is the shell installed on all servers by default. It is a very powerful shell language...
Advanced Bash Loops TutorialThe BASH scripting language provides a very handy ‘loop’ features. we have discussed that...
Apache Live ResultsRun this: tail -f /home/username/access-logs/domain.com
Connect from Mac OS X to Linux by using TerminalIf you use Mac OS X, you don’t need to install a third-party client like PuTTY to connect to your...
Control system processes via SSHThe hearth of each OS are its (apart from the Kernel of course) processes. Linux provides various...
Create/Edit files and folders using SSH cmd lineThere are various ways you can create a new file using the SSH command line.The easiest and most...
Deleting files and folders via SSHSometimes you would need to remove a file or a folder from the system. To do so using SSH, you...
Disable cPHulk Brute Force Protection SSHRun the following command to disable cPHulk for 5 minutes /usr/local/cpanel/etc/init/stopcphulkd...
Extracting and creating archive files via SSHSometimes you would need to extract or create an archive file (i.e to install a script, you would...
Filtering the IP from the logsRun this change the IP to any: tail -f /home/username/access-logs/domain.com | grep 000.000.000.000
How to Clear Brute Force Logs via SSHLogin into your Server via SSH and enter: echo "delete from brutes; delete from logins;" | mysql...
How to open known_hosts in Mac1. On the Mac, navigate to the ~/.ssh/ folder in Finder. Because files & folders starting...
List files and directories using SSHIn order to list all files and directories using an SSH client, you would need to execute the...
Mac WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!This either means that the host has a new key and the fingerprint has changed or...
Managing file/folder permissions and ownership via SSHThe Unix files access is controlled. There are three types of access...
Move and copy files using SSHOften you will need to move one or more files/folders or copy them to a different location. You...
Searching for files/text using SSHIn some cases you would need to find the location of a given file or to search for a certain text...