Tag: Command Line
Top 5 Tools to Validate YAML Files
What is YAML?
YAML Ain’t Markup Language (or YAML™) is a human-friendly, easily readable data language widely used with or alongside almost all programming mediums. It is designed around a standard formatted layout useful for creating configuration files that readily integrate across multiple development environments. It is also valuable for managing concurrent data as it includes the ability to employ Unicode printable characters.
A pipe is a form of redirection in Linux used to connect the STDOUT of one command into the STDIN of a second command. It allows us to narrow the output of a string of commands until we have an easily digestible amount of data. The pipe character is the | symbol and is placed between any two commands. Pipes are one of the most used command-line features that Linux has. Every article showing Linux commands will almost inevitably include pipes.
How To Use the Find Command In Linux
One of the most popular command-line utilities is the find command, mainly because of its simplicity and versatility. It's the default option to search for files across multiple UNIX based systems with a wide range of parameters and variables to narrow down our searches. It helps look for files matching a specific name, date, size, or even owner to provide a frame to append other commands to the list of files found. The basic structure of the find command is as follows.
Find the IP of a Linux Server via the Command Line
Knowing your server's IP address(s) can be useful information to have for various reasons. After all, other than your domain, the server's IP is the main address used to reach the server. Knowing a server's IPs may be necessary when making changes to: DNS, networking, and security. A server may have a single IP, or multiple IPs, but sometimes, you may need a quick method to double-check since it's easy to forget.
How to Configure a .htaccess Redirect
In this tutorial, we discuss the Apache .htaccess file and the many ways it can be modified and configured to suit your specific needs. We will be reviewing how to configure .htaccess redirects, rewrites, and add other customizations.
Let's say you have decided to change domain names or have one web address on your site that you want to redirect to a completely different location. Using a .htaccess redirects, you can send visitors to the new page or site automatically!
Introduction
Just as regular visitors reach our server every day, so do others with more nefarious intentions. It is simply not reasonable to run an online service without some layer of protection. To protect against some of these attacks, Ubuntu ships with ufw (Uncomplicated Firewall). This is a tool designed to make Ubuntu firewall management as easy and user-friendly as possible. Specifically, ufw provides a cleaner interface for the core firewall tools netfilter and iptables, which, while robust, can be challenging to master.
How to Set Up Plesk Backups in Cloud Object Storage
By default, Plesk typically stores backups on the server. This can, however, present a risk if the hard drive or RAID fails on the server. If this ever occurs, you can possibly lose both data and your backups. To avoid this situation, Liquid Web recommends storing additional backups in a remote storage location.
How To Set Up Two-Factor Authentication in cPanel
What is 2FA
Two-Factor Authentication (or 2FA as it often referred to) is an extra layer of security that is used to provide users an additional level of protection when securing access to an account.
How To Set Up and Use The Liquid Web CLI Interface
What Is the Liquid Web CLI Interface?
This is the official command-line interface for the Liquid Web API. CLI stands for the “command-line interface” which is used for interacting with multiple Liquid Web services via the Liquid Web’s Public API.
What is Bash?
Bash, or the Bourne Again SHell, is based on the Bourne shell. It is the default shell command language interpreter for GNU Linux/Unix and is accessed via a terminal. The shell was the original method for interacting with the operating system before GUIs were implemented. It has the ability to execute single commands, understand regular expressions, as well as scripts written in the bash language. It is currently the default interactive shell on most all modern Linux distributions.
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.