Teach Me Linux https://teachmelinux.com Learning Linux made easy! Sat, 18 Nov 2017 21:01:24 +0000 en-US hourly 1 https://i0.wp.com/teachmelinux.com/wp-content/uploads/2017/10/cropped-Apps-gksu-root-terminal-icon.png?fit=32%2C32&ssl=1 Teach Me Linux https://teachmelinux.com 32 32 135272299 How To Create A Swap File In Linux https://teachmelinux.com/how-to-create-a-swap-file-in-linux/ https://teachmelinux.com/how-to-create-a-swap-file-in-linux/#respond Sat, 18 Nov 2017 04:49:23 +0000 https://teachmelinux.com/?p=311 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. So what is a swap file? Basically a […]

The post How To Create A Swap File In Linux appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/how-to-create-a-swap-file-in-linux/feed/ 0 311
Running Commands Automatically Over SSH https://teachmelinux.com/running-commands-automatically-over-ssh/ https://teachmelinux.com/running-commands-automatically-over-ssh/#respond Sat, 18 Nov 2017 02:20:07 +0000 https://teachmelinux.com/?p=307 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 […]

The post Running Commands Automatically Over SSH appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/running-commands-automatically-over-ssh/feed/ 0 307
How To Kill Processes In Linux https://teachmelinux.com/how-to-kill-processes-in-linux/ https://teachmelinux.com/how-to-kill-processes-in-linux/#respond Sat, 18 Nov 2017 01:17:43 +0000 https://teachmelinux.com/?p=301 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. Killing A Specific Process The easiest way for […]

The post How To Kill Processes In Linux appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/how-to-kill-processes-in-linux/feed/ 0 301
Useful iLO Commands For HP Proliant Servers https://teachmelinux.com/useful-ilo-commands-for-hp-proliant-servers/ https://teachmelinux.com/useful-ilo-commands-for-hp-proliant-servers/#respond Sat, 18 Nov 2017 00:00:27 +0000 https://teachmelinux.com/?p=292 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 […]

The post Useful iLO Commands For HP Proliant Servers appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/useful-ilo-commands-for-hp-proliant-servers/feed/ 0 292
How To Run Basic Shell Commands From PHP https://teachmelinux.com/how-to-run-basic-shell-commands-from-php/ https://teachmelinux.com/how-to-run-basic-shell-commands-from-php/#respond Sat, 28 Oct 2017 23:19:15 +0000 https://teachmelinux.com/?p=280 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 […]

The post How To Run Basic Shell Commands From PHP appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/how-to-run-basic-shell-commands-from-php/feed/ 0 280
How To Use The Shred Command In Linux https://teachmelinux.com/how-to-use-the-shred-command-in-linux/ https://teachmelinux.com/how-to-use-the-shred-command-in-linux/#respond Sat, 28 Oct 2017 01:27:14 +0000 https://teachmelinux.com/?p=273 While you can use the dd command to overwrite your files, you can also use shred. Shred by default will overwrite your files 3 times and is designed to make it very hard to recover those files. There are several options you can use such as how many times you wish to overwrite the specified […]

The post How To Use The Shred Command In Linux appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/how-to-use-the-shred-command-in-linux/feed/ 0 273
How To Use The Watch Command With Examples https://teachmelinux.com/how-to-use-the-watch-command-with-examples/ https://teachmelinux.com/how-to-use-the-watch-command-with-examples/#respond Sat, 28 Oct 2017 01:26:51 +0000 https://teachmelinux.com/?p=270 Ever have a time where you needed to continuously check the progress of something, for example the progress of your array rebuilding after replacing a hard drive? Or waiting for the status of something to change? Well instead of running the same commands over and over again, there is an easier way. You can simply […]

The post How To Use The Watch Command With Examples appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/how-to-use-the-watch-command-with-examples/feed/ 0 270
How To Wipe Hard Drives With DD Command In Linux https://teachmelinux.com/how-to-wipe-hard-drives-with-dd-command-in-linux/ https://teachmelinux.com/how-to-wipe-hard-drives-with-dd-command-in-linux/#respond Sat, 28 Oct 2017 01:24:52 +0000 https://teachmelinux.com/?p=265 In this guide I will be showing you how to wipe your hard drives using the dd command. 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 […]

The post How To Wipe Hard Drives With DD Command In Linux appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/how-to-wipe-hard-drives-with-dd-command-in-linux/feed/ 0 265
How To Check For Dropped Packets In Linux https://teachmelinux.com/how-to-check-for-dropped-packets-in-linux/ https://teachmelinux.com/how-to-check-for-dropped-packets-in-linux/#respond Fri, 27 Oct 2017 22:15:56 +0000 https://teachmelinux.com/?p=261 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 […]

The post How To Check For Dropped Packets In Linux appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/how-to-check-for-dropped-packets-in-linux/feed/ 0 261
How To Reboot Or Shutdown A Linux Server https://teachmelinux.com/how-to-reboot-or-shutdown-a-linux-server/ https://teachmelinux.com/how-to-reboot-or-shutdown-a-linux-server/#respond Fri, 27 Oct 2017 00:35:59 +0000 https://teachmelinux.com/?p=248 In this guide I will be showing you how to reboot as-well as how to shutdown a Linux server using the command line. There are actually a couple of different ways you can do this, you can do this by logging into the server over SSH as-well as using remote IPMI commands to power cycle […]

The post How To Reboot Or Shutdown A Linux Server appeared first on Teach Me Linux.

]]>
https://teachmelinux.com/how-to-reboot-or-shutdown-a-linux-server/feed/ 0 248