Linux Tutorials Archive

Linux Tutorials Archive

How to Split and Join Large Files in Linux

Sometimes, you need to split and join large files for storage or transfer. While archive utilities like zip and rar allow us to do this with archive files, they don’t do as good a job as the more basic “split” and “cat” utilities, that were specifically built for this purpose. In this tutorial, I show you a general purpose method of joining and splitting large files that will work in any situation.


Accessing DigitalOcean’s Spaces from the Command Line with s3cmd

While you can manage your DigitalOcean spaces from the GUI, you can’t create batch commands, schedules, and other automated tasks. For that, we need CLI access and here’s a complete tutorial – right from generating the access keys, to making sure you have the right version of the s3cmd command line tool and configuring it!


How to Install the Latest Version of GIT on CentOS 7

Even though CentOS already has git available by default, it’s a much older version from several years ago. To install a newer version, follow this tutorial with screenshots. We also remove the existing older version to prevent conflicts.


How to List Manually Installed Packages on CentOS/RHEL

Have you always wanted an easy way to see which packages you’ve manually installed on CentOS/RHEL using yum? Here are three solutions that might help you out – with screenshots. And also, a more permanent fix if you want it!


How to Cleanly Uninstall Linux Software Created with “Make Install”

Sometimes installing software from source is unavoidable in Linux. Unfortunately, removing them isn’t so simple. In this tutorial, I’ll give you two solutions. First, the manual way in case you’ve already installed something and need to remove it. The second is a tool called “stow” that takes all the hassle out of installing from source in Linux, and allows you to remove packages completely with a single line.



How to Hide Files in Linux Without Using the “Dot”

Everyone how to override the hiding of dot (.) “hidden” files in Linux using the “-a” parameter. A better solution is to use bash scripting so that even this solution won’t work. This tutorial will show you how to prevent files from ever showing up with the “ls” command.


How to View and Edit Large Files in Linux Using “less” and “sed”

Have you ever tried opening a large file of hundreds of MB or several GB in vi? It can take forever. And making edits is even longer. This is because vi loads the entire file into memory before displaying it to you. For large files, there are better and more efficient tools like “less” and “sed”. Here’s a tutorial on how to use them.