How to String Multiple Linux Commands Together

On a Linux dedicated server, the shell provides a powerful arsenal of commands for you to manage your system. Used in isolation, these commands can be very effective. Used in combination, you can truly unlock the power of your system.
There are a few ways to string commands together. One of the most basic tools you […]

Linux Server Security Guide: Part 2

System Logs
Every Linux operating system keeps logs for system processes and applications. You can use those logs to monitor server performance and also sniff out any abnormalities that may be security security related.
There are some common Linux logs that are more important than others, such as the kernel log, authentication log, web server […]

List All Linux Commands with Compgen

A Linux dedicated server is all about commands. At some point, you will inevitably need to manage it from SSH (Secure Shell), which means you will be presented with a command line interface. While you may already know some commands, it is nice to see what the server offers as a whole. You can do […]

Using Netstat to Monitor Network Services

Monitoring your dedicated server is a good way to prevent attacks, crashes, and other problems that invariably creep up.  Although there are many external tools to help you monitor your server, Linux-powered servers also have plenty of internal tools that can help you with both monitoring and troubleshooting.
Netstat is a small network tool that can […]

How to Search for Only Text Files

Files on a large dedicated server are difficult enough to find on their own.  When you add the fact that numerous files may have the same or similar names but be of different types, the odds of finding what you want may seem insurmountable.  Fortunately, there is a tool in Linux for just about anything. […]

More Port Analysis with lsof

Last week we looked at two Unix/Linux commands that you can use to find out more information about open ports and the processes running on them. Another useful tool for process analysis is “lsof”, which stands for “list open files”. The command itself can be used for many tasks on your dedicated […]

Tools to Examine Linux Files

A dedicated server running Linux has an arsenal of file examination tools. Should you ever need to find out more information about a file or set of files, there are several commands that can help.
File – This simple command will give you more information about a file and help you determine what type of […]

The ps Command on a Linux Server

One of the important tasks you should regularly perform when managing your dedicated server, is to monitor the running processes. While the “top” command will provide you with a glimpse of the most active processes, the “ps” command can give you all of them or the specific ones you want.
As an introduction to ps, […]

Using GREP to Search a Server

While many search tools like “locate” search filenames, grep searching everything in the contents of files. This makes grep one of the most powerful tools for finding information on a Linux or Unix server. Grep (global regular expression print) can be used for both simple and complex searches. You can also use […]