Linux Tutorials Archive

Linux Tutorials Archive

How to Create a Swap File on Linux

As part of your Linux server setup, you need to create a virtual memory space that will supplement your RAM. This is called “swap space” and can be done in a few seconds if you know how. Using this tutorial with screenshots, will learn how to create a swap file.


How to Update the Kernel in CentOS

If you need to update your CentOS kernel, you first need to enable the repository that contains it. Once that’s done, enabling the repo and installing a kernel of your choice is no more difficult that installing any other Linux package using your package manager!


How to Have Different Windows in Linux with a CLI

The command line in Linux allows you to only do one thing at a time – or so you’ve been told! Here’s an easy way to open up different windows or screens in Linux from the CLI, so you can multi-task without losing your place in the previous task.


How to Open a PDF File in Linux from the Command Line?

There’s no in-built way to open a PDF file from the command line in Linux. However, you can use tools like pdftotext to accomplish this. Even though it won’t preserve complex formatting, it’s still a good way to quickly browse through simple PDF files without leaving the command line.


How to Schedule a Specific Job Just Once on Linux

If you need to schedule a set of commands to run at a future date in Linux, you should use “at” instead of cron. While cron works for regularly occurring tasks, “at” allows you to schedule one off items.


How to Convert DEB Packages to CentOS/RHEL RPM Using Alien

Ideally, you would be able to install everything you want from your in-built package manager. Or failing that, build your package from source. Sometimes however, you have no option but to try and use a package from another Linux distro. In this tutorial, I show you how to use “alien” to migrate packages from one Linux flavor to another.



How to Install the Java SE Runtime Environment on Linux

If you’re running a browser like Firefox on your Linux machine, you’ll need to install the Java Runtime Environment (JRE) and make the plugin available for use. Here’s a complete step by step tutorial on how to go about it, with screenshots.