Category: Commands

Brocade: Health Check Commands

In this post I will be showing you some Brocade switch commands to check the health status of your Brocade switches. You can run these commands by connecting to your Brocade via SSH using your Terminal or Putty. While this isn’t really a Linux guide, Brocade switches do run on Linux and this guide may be useful for system administrators …

A Newbie’s Guide To Piping In Linux

Today I will be showing you how to use piping or pipe commands in Linux. Piping is used to take the output from one command and “pipe” it into another command. An example of this would be listing all your drives on an HP server with hpacucli¬†and then piping it into grep to search for the term “fail” so that …

How To Check IP Address In Linux

In this guide I will be showing you how to check both your internal and external IP addresses in Linux. The difference between these two types of IP addresses are that external IP addresses are the IP addresses that servers and other computers will see whenever there is a connection, while the internal is for communicating with your switch, router, …

Restarting vs Reloading A Linux Service

If you are making changes to configuration files such as Apache or Postfix for example, you will need to either restart or reload the service for the changes to take effect. So what is the difference between a Linux service reload and a Linux service restart?

How To Use Background And Foreground Processes

Today I will be showing you how to use background and foreground processes in Linux. What is a background process? You can send processes to the background when you don’t need to interact with them right away in order to continue using your current shell. You can actually have multiple background processes at the same time and switch back and …

How To Use The NOHUP Command

Today I will be showing you how to use the Linux nohup command. What the nohup command does is lets you run a script or command without fear of it exiting if you close your session while it is still running. For example if you have a spotty WIFI connection and need to execute an automatic script that will take …

Backup And Restore MySQL and MariaDB Databases

In today’s guide I will be showing you how to backup MySQL databases and backup MariaDB databases. I will also show you how to restore MySQL databases and restore MariaDB databases. This process is actually very easy with only 2 commands, and it is definitely recommended that you backup your databases if you are planning on migrating from MySQL to …

Running Commands Automatically Over SSH

In this quick and simple post I will be showing you an easy way to automatically run commands over SSH. This method works great with bash loops if you need to run the same commands over multiple servers. Using this method automatically disconnects once the command or commands are finished executing, you will receive the full output however.

How To Kill Processes In Linux

Today I will be showing you how to kill Linux processes. There are a few ways to accomplish this and I will be highlighting them all below. If I miss anything then feel free to comment below and I will add the information to this post as-well.