The command line terminal is a convenient and fast tool for interfacing with the Linux operating system. However, you may find yourself sending the same commands again and again while issuing instructions to your system. This may cost you a significant amount of time, especially if your commands are lengthy, hard to remember, or just […]
Category: Command Line
Command Line
How To Use morgan in Your Express Project
Introduction morgan is a Node.js and Express middleware to log HTTP requests and errors, and simplifies the process. In Node.js and Express, middleware is a function that has access to the:
Script to fetch and show your GNU/Linux distro age in days
I’d like to share a quick and dirty script written in BASH which is supposed to fetch and show the age of your GNU/Linux distribution in days. I created it just for fun as I thought it would be nice to get this information from somewhere and place it for example in your conky, […]
How to install and setup OpenVPN in ArchLinux
In this tutorial we will show you how to install and setup OpenVPN in ArchLinux. While OpenVPN support user/pass, pre-shared key (PSK), SSL Certificates etc. to authenticate users/clients, I’m rolling with SSL Certificates as they are superior to other authentication methods.
How to replace a failed hard drive in RAID1 array
The following article sums up the steps I used to replace a failed hard drive in a RAID 1 array on a Debian 7 (wheezy) dedicated server machine for one of our clients, though the article applies to any other gnu/Linux system.
How to install and set-up Master Named (BIND) DNS server in Fedora 22
In this tutorial we will show you how to install and set-up Master Named (BIND) DNS server in Fedora 22 VPS. To be more specific, in this case, we will setting up the master DNS server for the “mylinuxvps.com” domain name in a chrooted environment.
How to create a Multi Boot USB Drive with Yumi
In this tutorial we will explain you how to create a Multi Boot USB Drive with Yumi. 1. Download Yumi. Once the program is downloaded insert your flash drive in any of your free USB slots on your PS and open “My computer”. You will see the USB drive mounted there. Note the drive […]
How to install and configure Fail2Ban on your Debian server
In this tutorial we will show you how to install and configure Fail2Ban on your Debian VPS. WHAT IS FAIL2BAN Fail2Ban is the most famous application that can prevents dictionary attacks on your server. – You may ask how it is work? Well, when Fail2Ban detects multiple failed login/attempts from the same IP address […]
Linux tail Command Tutorial for Beginners (5 Examples)
Sometimes you want to monitor what new information is being written to a file (think of log files), or for whatever reasons, want to access the last few lines of a file. Well, there’s a command line utility that lets you do this in Linux, and it’s call tail.
How To Use Vim – Tutorial
Vim is a powerful editor that has many commands, so many that it would be impossible to teach in a tutorial like this. This tutorial is designed to display enough commands so that you are comfortable to easily use Vim as a generic text editor.