Understanding the Linux Directory Structure

understanding the linux directory structure

In this blog post, we are going to explain the Linux Directory Structure and how everything is connected in Linux operating system.

Linux is a very complex system and requires an efficient way to start, stop and maintain the system. Everything in Linux is a file, and even the directories count as files. There are three types of files in the Linux system: general files, directory files, and device files.

In the next paragraphs, we are going to explain the types of files and the most important directories such as root, bin, cdrom, boot, dev, etc, home, lib, mnt, tmp and many more. Let’s get started!

Read More

10 Useful YUM Commands in Linux

10 useful yum commands in linux

In this tutorial we are going to show you the most used 10 YUM commands in Linux. YUM is a command-line package management system that is used on CentOS and AlmaLinux.

YUM (shortcat for “Yellowdog Updater Modified“) package manager is responsible for managing the packages from the YUM repositories located on the server at /etc/yum.repos.d/. In this tutorial we are going to install, remove, update software packages with real example.

The YUM command examples will be explained on the CentOS 7 OS. Let’s get started!

Read More

How to Use the Du Command in Linux

how to use the du command in Linux

In this tutorial, we are going to explain the “du” command used on every Linux distribution such as Ubuntu, Debian, or CentOS.

“Du” stands for Disk Usage and every Linux user should use it very often to check the amount of disk space used by directory or file. Using the “du” command is very simple by typing it on the console and adding additional phrases called options. In other words, the “du” command is different every time, according to the needs of the user and what the user wants to be displayed as output.

In this blog post, the “du” command will be explained with real examples. Let’s get started!

Read More

How to Download a File From a Server to Your Desktop Using SSH

download files ssh to desktop

An SSH session is like a portal into another machine. If you’re used to working with Windows, you’ll know how easy it is to transfer files from one location to another. Just drag and drop! No text commands, no authentication, none of that.

ssh download command

However, sometimes you will need to download a file from SSH to your local desktop, such as if you are using one of our managed VPS hosting services. And there’s no simple command from within the SSH terminal itself to do this. The two environments are too far apart. However, we have a dedicated tool called “SCP” which stands for “Secure Copy” that’s made for precisely these kinds of situations.

Read More

Magento Tips & Tricks for Better Performance

great Magento performance

While the Magento architecture is very flexible and powerful, it requires more resources to maintain this flexibility. However, it does not mean that Magento can’t be responsive. We’ll show you what to look our for, as well as some tips and tricks to achieve the best performance from your Magento server.

tips Magento faster

If you set up and optimize your website properly and invest in quality web hosting, you can achieve a high-performance Magento store. However, that doesn’t tell the whole story. We’ll also show you what you should focus on when choosing a Magento hosting provider.

Read More

How to Install and Use Wget on Linux

How to Install Wget on Linux

Wget is a non-interactive network download utility for the Linux command line interface. It’s is used for downloading or retrieving files from web servers or FTP servers. Wget can be installed on most modern operating systems, including Windows, Linux, and macOS.

Wget Usage

The Wget command comes with several options that allow you to download multiple files, download in the background, mirror a website, resume downloads, limit the bandwidth, download recursively, and lots more. It supports HTTP, HTTPS, and the FTP protocols and also retrieval through HTTP proxies.

In this tutorial, we will show you how to install and use Wget command with some examples on how to use Wget.

Read More

How to Create and Run Cron Jobs on Linux

Cron is a scheduling utility in Linux distributions that can be used to executes tasks at specified intervals. It allows you to run almost any commands or scripts at a specific time and date, or at a recurring interval.

Cron is a very useful tool for a system administrators to automate repetitive tasks of any sort, such as system updates, sending emails, checking system resource usage, creating backups, and so on. Realistically, anything that can be automated can be added to Cron so that it executes without any user involvement.

Cron runs in the background and constantly checks the /etc/crontab file, and the /etc/cron.*/ and /var/spool/cron/ directories. Each user has their own separate crontab file.

In this tutorial, we will show you how to create and run Cron jobs on a Linux VPS. The same steps should work on almost all Linux machines, regardless of whether it’s a server or a desktop computer.

Read More

Bash Script Examples

In this tutorial, we will explain the most common bash operations while also showing you a few bash script examples.

A Unix shell program interprets instructions and programs in the form of commands. These commands are either directly entered by the user, or they can be run in sequence from a file (called a shell script). An important distinction of bash scripts when compared to other coding languages is that they are interpreted and not compiled. When you write a shell script and then run it, it’s interpreted by your operating system, with no compilation required.

Bash scripts are a versatile and handy tool that most system administrators love using to simplify their workflow and automate repetitive tasks. With scripts, you can do almost anything that you can do using a normal shell environment.

Read More