Basic Bash Shell Commands – A CLI Tutorial

Reading Time: 14 minutes

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.

Continue reading “Basic Bash Shell Commands – A CLI Tutorial”

How to Install and Use ApacheTop

Reading Time: 4 minutes

What is ApacheTop?

ApacheTop is an uncomplicated command line (CLI) utility that is used to monitor http traffic in real-time. It achieves this task by analyzing the incoming apache logs and based on that data presents understandable output to our screen. It can be configured to output X number of hits, or output X number of hits within X seconds.

Continue reading “How to Install and Use ApacheTop”

How to Install and Use Git-Secret

Reading Time: 3 minutes

What is Git-Secret?

Git-secret is a bash tool that is used to store your private files and information inside of a git repo on your server. The git-secret tool allows us to encrypt sensitive files that are stored inside a secure, encrypted repository. In this article, we will be examining the process of installing and working with git-secret on an 18.04 Ubuntu Server.

Continue reading “How to Install and Use Git-Secret”

How to Update Bash on Fedora 20 and Fedora 21

Reading Time: < 1 minute

Note:
Please note that this article is considered legacy documentation because Fedora 20 and 21 has reached its end-of-life support.
Pre-Flight Check
  • These instructions are intended specifically for updating Bash on Fedora 20 and Fedora 21.
  • I’ll be working from both a Liquid Web Self Managed Fedora 20 server and a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.

Continue reading “How to Update Bash on Fedora 20 and Fedora 21”

CVE-2014-6271 and CVE-2014-7169 Info – Bash Vulnerabilities

Reading Time: 2 minutesOn September 24th, a vulnerability was reported in the GNU Bourne-Again-Shell (BASh, or Bash), specifically a flaw with how Bash processes values of environment variables, that allows remote code execution of varying types in many common configurations. The overall risk is severe due to bash being configured for use, by default, on most Linux servers.

While Liquid Web immediately began working to proactively patch this vulnerability, some servers may remain vulnerable depending on their update settings or other unforeseen intervening factors. Thus, we’ve provided the instruction below.

To Summarize:

  • This flaw exploits Bash, a Unix command-line shell run by default on most Linux servers.
  • Allows for remote code execution, and many types of command-line based attacks.
  • A patch is available, and your server can be easily updated.
  • We have tutorials on How to Update Bash on Red Hat and CentOS and How to Update Bash on Debian and Ubuntu.
  • Test the vulnerability of your server with the information below.

Continue reading “CVE-2014-6271 and CVE-2014-7169 Info – Bash Vulnerabilities”