How to install missing ifconfig command on Linux

Most of us longtime Linux users have the ifconfig command seared into our brain, after years of repetitive use. It comes as a shock to some when they type the command and are met with an error message (ifconfig command not found). Indeed, the command has become deprecated, but it’s still possible to install the ifconfig command. The newer alternative is the ip command, which has new functions but also a different syntax that takes some getting used to.

Read more

How to fix: user not in sudoers file error

The purpose of this tutorial is to show how to fix the RHEL7 User Not In Sudoers File Error on all major Linux distributions. When trying to execute Linux commands with root privileges via the sudo command, you will receive an error message if the current user is not in the sudoers file. This is a security feature on Linux systems to stop ordinary users from esclating their commands to administrator privileges.

Read more

How to auto login on CentOS

The purpose of this tutorial is to enable auto login on GNOME GUI and the KDE Plasma desktop environment on CentOS Linux system. If you are using CentOS and getting tired of needing to provide your password every time your computer boots up, or goes back to the lock screen, then enabling auto login will save you some time and frustration.

Read more

Install Gitlab on Ubuntu Linux

Git has become the default version control system for much of the open source world. While Git hosting services like Github and Bitbucket are good and work well, they leave you dependent on those services for everything, including crucial factors like uptime and security. Aside from that, neither of those services are open source. Thankfully, an alternative exists in the form of Gitlab.

Read more

How to run X applications without a desktop or a WM

How to run X applications without a desktop or a WM

X is one of the most common and popular display servers for Linux. GUI applications rely on X and some type of window manager (such as Wayland) and desktop environment (such as GNOME) in order to display a graphical interface as a series of windows, title bars, etc. – think about Firefox for an easy example. But did you know that it is not strictly necessary to run a desktop environment or window manager just to open a GUI application? All we really need is the X server and our command line interface.

Read more

Exit code 127 error status in Bash script

Are you receiving a exit code 127 error when trying to execute a Bash script? This means that your Linux system was not able to find the command referenced inside of the script, which could indicate that the path to the command is not valid, or the command is not installed at all. In this tutorial, we’ll explain what causes this “command not found” error and show you how to fix it.

Read more