Now Browsing: Linux Tutorials

How to Zip and Unzip a Folder in Linux with Subdirectories

How to Zip and Unzip a Folder in Linux with Subdirectories

Even though Linux environments often prefer to use “tar” and “gz” files, the zip standard is so common that you’ll find yourself using it often – like for public downloads for example. Here’s how to zip and unzip files from the CLI in Linux.

Read More

How to Manage Files and Directories in Linux – A Quick Reference

How to Manage Files and Directories in Linux – A Quick Reference

For someone new to the Linux command line, it can be a bit like being thrown in to the ocean. The first step is to learn basic file management and directory navigation. This series of command will help you get started, so you can be well on your way to learning more advanced stuff.

Read More

How to Undo a Yum Install Including Dependencies on CentOS/RHEL

How to Undo a Yum Install Including Dependencies on CentOS/RHEL

“Yum remove” doesn’t remove all the dependencies that were installed with the original “yum install” command. Instead, we should use the “yum history” command to completely revert a yum install so that all the dependencies are removed as well. #CentOS #RHEL #Linux

Read More

Linux Script to Add User and Password Expiry with Conditional Checks

Linux Script to Add User and Password Expiry with Conditional Checks

Do you want to automate the task of creating a user, adding a password, and expiring it all with one command? This Linux script will teach you the basics of scripting with parameters and conditional statements and provide you with a perfectly working script in the end.

Read More

How to use the CentOS “Safe Mode” for Maintenance

How to use the CentOS “Safe Mode” for Maintenance

You can put Linux servers into “Rescue mode” in the same way you have “Safe mode” for Windows. With the new systemd framework, we have to work with targets instead of “runlevels”, but the basic idea is the same.

Read More

How to Manually Update and Enable Automatic Updates in CentOS 7

How to Manually Update and Enable Automatic Updates in CentOS 7

It’s very important to have an up to date Linux server. This tutorial will show you how to enable automatic updates for CentOS 7 and how to control the various aspects of the upgrade so you only install what you want, and nothing else.

Read More

Disclosure: We receive a compensation from some of the companies whose products are presented on our website.