Tag: linux

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 Create A Swap File In Linux

Today I will be showing you how to create a swap file in Linux. There are many reasons why you may want to use a swap file, one of those reasons may be that you are using a droplet or VPS with a low amount of RAM.

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.

Useful iLO Commands For HP Proliant Servers

Today I will be showing you some of the more useful iLO (integrated lights out) commands that you can use to manage your HP Proliant servers. This is somewhat similar to IPMI and iLO will emulate IPMI if you prefer, however some things simply do not work when using IPMI commands such as changing the boot order. For more information …

How To Run Basic Shell Commands From PHP

Today I will be showing you how to run basic shell commands from a PHP script. While you can’t interact with these commands (for example top will not output or update, you can still use them to somewhat interact with your web server. Note that most shared web hosting providers block these functions in their php.ini settings for security reasons. …

How To Wipe Hard Drives With DD Command In Linux

In this guide I will be showing you how to wipe your hard drives using the Linux¬†dd command with dd examples. You have a few options when it comes to wiping your hard drives, you can wipe the MBR (master boot record) or you can wipe the entire drive. If you are looking for a guide on wiping specific files …

How To Check For Dropped Packets In Linux

Today I will be showing you how to check your Linux servers for dropped packets. Dropped packets can occur for a number of reasons including but not limited to, actual network issues, NIC card issues, firmware issues, settings, and more. This will not be a guide on diagnosing why your packets are being dropped, but rather just finding out if …