Knowledge Base
427 articles and guides on knowledge base from the NexonHost team — page 12 of 18.

How to Set and List Environment Variables in Linux
How To Set And List Environment Variables In Linux In this guide, we will explain to read and set environment and shell variables. In Linux and Unix based systems environment variables are a set of dynamic named values, stored within the system that are used by applications launched in shells or…
Read article →
How to Install RPM Packages on CentOS.
How To Install RPM Packages On CentOS. In this tutorial, we will show you two methods of how to install RPM packages on CentOS. RPM is a packaging system used by Red Hat and its derivatives such as CentOS and Fedora. The official CentOS repositories contain thousands of RPM packages that can be…
Read article →
How to use ip Command.
How To Use Ip Command. This article explains how to use the ip command through practical examples and detailed explanations of the most common options. The ip command is a powerful tool for configuring network interfaces that any Linux system administrator should know. It is used to bring…
Read article →
How to use echo command.
How To Use Echo Command. The echo command is one of the most basic and frequently used commands in Linux. The arguments passed to echo are printed to the standard output. echo is commonly used in shell scripts to display a message or output the results of other commands. echo Command echo is a…
Read article →
How to create a Self-Signed SSL Certificate.
How To Create A Self-Signed SSL Certificate. This article explains how to create a self-signed SSL Certificate using the openssl tool. What is a Self-Signed SSL Certificate? A self-signed SSL certificate is a certificate that is signed by the person who created it rather than a trusted certificate…
Read article →
Nginx Commands You Should Know
Nginx Commands You Should Know In this guide, we will go over the most important and frequently used Nginx commands, including starting, stopping, and restarting Nginx. Nginx pronounced “engine x” is a free, open-source, high-performance HTTP and reverse proxy server responsible for handling the…
Read article →
How to use Linux Head Command.
How To Use Linux Head Command. This article explains how to use the Linux head utility through practical examples and detailed explanations of the most common command options. The head command prints the first lines (10 lines by default) of one or more files or piped data to standard output. Head…
Read article →
How to use Cd Command.
This article will show you how to use the cd command to navigate your system’s directory tree. The cd (“change directory”) command is used to change the current working directory in Linux and other Unix-like operating systems. It is one of the most basic and frequently used commands when working…
Read article →
How to Copy Files and Directories.
How To Copy Files And Directories. It is common practice to use the cp command to copy files and rsync to copy directories. Copying files and directories is one of the most common tasks you’ll perform when working on the command line. There are several commands for copying files in Linux, with cp…
Read article →
How to Clear (Flush) the DNS Cache on Windows, MacOS, and Linux
How To Clear (Flush) The DNS Cache On Windows, MacOS, And Linux This article provides instructions on how to flush the DNS cache on different operating systems and web browsers. DNS cache is a temporary database that stores information about previous DNS lookups. In other words, whenever you visit…
Read article →
How to use Xargs Command.
How To Use Xargs Command. In this tutorial, we’ll cover the basics of using the xargs command. The xargs utility allows you to build and execute commands from standard input. It is usually used in combination with other commands through piping. With xargs, you can provide standard input as…
Read article →
How to understand Bash Heredoc.
How To Understand Bash Heredoc. When writing shell scripts you may be in a situation where you need to pass a multiline block of text or code to an interactive command, such as tee , cat, or sftp . In Bash and other shells like Zsh, a Here document (Heredoc) is a type of redirection…
Read article →
How to Create a File in Linux.
How To Create A File In Linux. In this tutorial, we’ll show you various ways to quickly create a new file in Linux using the command line. Knowing how to create a new file is an important skill for anyone using Linux on a regular basis. You can create a new file either from the…
Read article →
How to use SSHFS to Mount Remote Directories over SSH
How To Use SSHFS To Mount Remote Directories Over SSH This tutorial will show you how to install the SSHFS client on Linux, macOS, and Windows and how to mount a remote directory. SSHFS (SSH Filesystem) is a filesystem client based on FUSE for mounting remote directories over an SSH connection.…
Read article →
How to use Linux Sleep Command (Pause a Bash Script).
How To Use Linux Sleep Command (Pause A Bash Script). In this tutorial, we will show you how to use the Linux sleep command. The sleep command is useful when used within a bash shell script, for example, when retrying a failed operation or inside a loop. sleep is a command-line utility that allows…
Read article →
How to use Uptime Command.
How To Use Uptime Command. In this tutorial, we will cover the uptime command. As its name suggests, the uptime command shows how long the system has been running. It also displays the current time, the number of logged-in users, and the system load averages for the past 1, 5, and 15 minutes. How…
Read article →
How to Read a File Line By Line in Bash
How To Read A File Line By Line In Bash In this tutorial, we will discuss how to read a file line by line in Bash. When writing Bash scripts, you will sometimes find yourself in situations where you need to read a file line by line. For example, you may have a text file…
Read article →
How to use Wc Command (Count Number of Lines, Words, and Characters)
How To Use Wc Command (Count Number Of Lines, Words, And Characters) In this tutorial, we will show you how to use the wc command through simple and practical examples. How to Use the wc Command The syntax for the wc command is as follows: wc OPTION… [FILE]… The wc command can accept zero…
Read article →
How to understand Bash if..else Statement
How To Understand Bash If..Else Statement This tutorial will walk you through the basics of the Bash if Statement and show you how to use it in your shell scripts. Decision-making is one of the most fundamental concepts of computer programming. Like in any other programming language, if, if..else,…
Read article →
Apache Commands You Should Know
Apache Commands You Should Know In this guide, we will go over the most important and frequently used Apache commands, including starting, stopping, and restarting Apache. If you are a developer or system administrator, chances are that you’re dealing with Apache regularly. Apache HTTP server is…
Read article →
How to use date command.
How to use date command. In this tutorial, we’ll cover the basics of the date command. The date command displays or sets the system date. It is most commonly used to print the date and time in different formats and calculate future and past dates. Using the Linux date Command The syntax for the…
Read article →
How to use nc command.
How To Use nc Command Netcat (or nc) is a command-line utility that reads and writes data across network connections, using the TCP or UDP protocols. It is one of the most powerful tools in the network and system administrators arsenal, and it as considered as a Swiss army knife of networking tools.
Read article →
How to use which command.
How to use which command. In this tutorial, we will cover the Linux which command. Linux which command is used to identify the location of a given executable that is executed when you type the executable name (command) in the terminal prompt. The command searches for the executable specified as an…
Read article →
How to Move Files and Directories in Linux with mc command.
How to Move Files and Directories in Linux with mc command. In this tutorial, we will explain how to use the mv command to move files and directories. Moving files and directories is one of the most basic tasks you often need to perform on a Linux system. How to Use the mv Command…
Read article →