Linux Sed Command Tutorial

In this lesson on the Linux sed command, you’ll learn how to: Perform text substitutions. Remove text from a stream. Perform in-place edits while preserving the original data as a backup. Use sed addresses to work on very specific sections of input. And much more… This lesson is just one of the 55 shell scripting … Read more

Resetting File Permissions And Ownership On RPM-Based Linux Systems

If you’ve come here looking to fix an errant recursive chmod or chown command on an RPM-based Linux system, then here is the quick solution. Run the following commands using root privileges: The –setugids option to the rpm command sets user/group ownership of files in a given package.  By using the -a option we’re telling … Read more

Managing Linux Users and Groups

In this video tutorial and cheat sheet, you’ll learn: Video Transcript: Each account consists of a username and a unique number called the UID, which is short for user ID. Also, each account has a default group to which it belongs, some comments associated with that account, a shell to start when the user logs … Read more

The Professional Approach to Upgrading Linux Servers

With the latest release of Ubuntu, I thought it would be the perfect time to talk about server upgrades. Specifically, I’m going to share with you the process that I’m using to perform upgrades. I don’t shy away from work, but I hate doing work that really isn’t needed. That’s why my first question when … Read more