Manual page of the ln command

Create hard and soft links – RHCSA Exam Preparation

In this part of RHCSA exam preparation we will turn our attention to links. There are two types of link, hard links and soft links. In this article we will talk about how to create and remove links and will also discuss some basic background behind both, the hard links and the soft links.

In this tutorial you will learn:

  • What are symbolic (soft) links
  • What are hard links
  • How to create a symbolic link
  • How to create a hard link
  • How to remove link

Read more

Configure static IP address on Fedora 31

How to configure static IP address on Fedora 31

There ar multiple ways on how to set your Fedora 31 system with a static IP address. Using the nmcli is perhaps the simplest regardless of GUI is currently your system configured with.

In this tutorial you will learn:

  • How to set static IP address
  • How to set DNS server IP address
  • How to Gateway IP address
  • How to apply / restart network

Read more

Bash Script Comment Example

How to write comments in Bash Scripts

Well you have written an awesome Bash script. It works perfectly and perhaps there is no need to add new functionality. Well, maybe not for now, at least! At this stage you are happy with the script. However, after few months you reopen your bash script again to add new feature and you get a headache to figure out on how the script actually works. Hence, you need to spend additional energy and time before you can actually start editing the script in order to add new feature.

Well, at this point you regret that you did not put some comments ( notes ) into the script to remind you of how the bash script is structured. Not only that Bash comments serve as excellent notes for you or anybody else who might work with your script they may be to some extend also used as a basic bash script debugging tool.

In this tutorial you will learn:

  • How to comment on bash command line
  • How to write comment bash scripts
  • How to create multiple line comments

Read more

This executable .bin file launched a GUI installer for a Linux game

How to install bin file in RHEL 8 / CentOS 8 Linux

Some software packages for RHEL 8 / CentOS 8 come from commercial vendors such as game companies that provide closed-source binary packages or installers that you can run and enjoy in Linux. These installers often come either in .sh form or .bin form. Both are executable installers that you can launch in RHEL 8. If you have downloaded a .bin file and don’t know how to run it follow these steps.

In this tutorial you will learn:

  • How to make .bin files executable using the command line
  • How to install .bin files in RHEL 8

Read more

File conversion with alien doesn't take long

How to install deb file in RHEL 8 / CentOS 8 Linux

There may come a time when that package you want to install in RHEL 8 / CentOS 8 is simply not available as a RPM file. The alternative is to download the source and compile it yourself, or – alternatively – generate a RPM file from that source code later on.

But there is another way. Given the fact that Debian-based distributions have way more users than RPM-based ones, the number of available packages in their repositories is greater. Chances are you will be able to find a DEB file for that package you want. Here is how to install that DEB file in RedHat Linux with the help of a small utility called alien.

In this tutorial you will learn:

  • How to install alien in RHEL 8 / CentOS 8
  • How to convert a DEB package to a RPM one

Read more

VIM text editor on RHEL 8 Linux Server/Workstation.

How to install vim on RHEL 8 / CentOS 8

The command line vim text editor utility is an invaluable tool for any system administrator. The vim editor can be installed with a single dnf command in case it is currently unavailable on your RHEL 8 / CentOS 8 Linux system.

In this tutorial you will learn:

  • How to install vim text editor on RHEL 8 / CentOS 8.
  • How to set vim as the system wide default text editor.
  • How to set vim as the user default text editor.

Read more