VIKHOST Tech Blog
Useful Technical Articles, Notes and Instructions.
How to disable NetworkManager on CentOS

How to disable NetworkManager on CentOS

How to disable NetworkManager on CentOS — Below you can find how to disable NetworkManager service. 1. Command how to check interfaces are managed by NetworkManager # nmcli device status Mentioned command displays table with lists all network interfaces along with their STATE. If Network Manager is not controlling an interface, its STATE will be listed as unmanaged. Any other value indicates the interface is under Network Manager control. 2 …

/ Linux
HTTP RESPONSE STATUS CODES

HTTP RESPONSE STATUS CODES

HTTP RESPONSE STATUS CODES
If you have ever searched the internet, you might have encountered HTTP status codes. So, those three-digit numbers may look random at first, but they’re essential to understanding how the web functions. Well fret not (if that’s a thing), because in this article we’re going to take a look into the world of HTTP status codes and what each of these mean.

WHAT ARE HTTP STATUS CODES?
HTTP status …

/ Useful articles
How to make password entry in the terminal visible

How to make password entry in the terminal visible

How to make password entry in the terminal visible — Each time when you use sudo, the terminal asks you to enter the user password. This is a great security measure! But the terminal does not offer any visual feedback when entering the password. This is often confusing. Adding such a relationship is quite simple, as a result of which we will see “an asterisk” when entering. Open the terminal …

/ Linux
How connect to SSH

How connect to SSH

How connect to SSH
After activation of your VPS and receiving access credentials to your Linux VPS, you can log in to the server using SSH protocol. At first you need to download SSH-client PuTTy. ➤ putty.org
1. Run the program
2. Fill in the required fields:
• Host name (or IP address): IP address of your VPS • Saved Sessions: vikhost.com • Port: 22 • Connection type: SSH

/ Linux
Essential Linux Commands

Essential Linux Commands

MOST-COMMONLY USED LINUX COMMANDS
This article presents the essential commands for Linux. These basic Linux commands will help the novice user to work successfully with Unix systems.

SYSTEM INFO COMMANDS
date – show the current date and time
cal – show this month’s calendar
uptime – show current uptime
w – display who is online
whoami – who you are logged in as
finger user – display information about user

/ Linux
Remount fstab Without Reboot in Linux

Remount fstab Without Reboot in Linux

HOW TO: REMOUNT /etc/fstab WITHOUT REBOOTING IN LINUX

The file /etc/fstab contains necessary information for automatic mounting of partitions. Usually, after this file editing, you need to reload the Linux server for the changes to take effect. In the article below we will show you that refreshing the commands in fstab or restarting the operation system in Linux is not necessary.

RELOAD FSTAB WITHOUT REBOOT IN COMMAND LINE FROM ROOT

/ Linux
How to find the external ip address in Linux

How to find the external ip address in Linux

GET PUBLIC IP ADDRESS IN LINUX TERMINAL
First you need to know that there are two versions of IP addresses: IPv4 and IPv6. Each of these two types of IP addresses can be either private or public. In this article we will show several ways how you can check your outgoing ip address using the dig commands, host command, and some external services to find a public IP address on …

/ Linux
Generate random password on Linux using /dev/urandom

Generate random password on Linux using /dev/urandom

Linux – generate random password using /dev/urandom
Today we will look at, in our opinion, one of the most convenient ways to generate a password on your Linux server using /dev/urandom.

What is /dev/urandom in Linux?

First, let’s look at what urandom is. The urandom command is used to generate a random password, including one-time and long-term passwords. /dev/urandom uses an entropy pool it will generate data using SHA, …

/ Linux
How to Clear BASH History in Linux, Centos, Debian and Ubuntu

How to Clear BASH History in Linux, Centos, Debian and Ubuntu

Clear bash history command line in Linux

How to check your Bash History
To start working with the Linux history commands, you will need command history. When you launch it, you will be shown the entire history of commands in the terminal. # history
If you want to see the last 5 commands then use the following command # history 5

How to clear Linux command history
If you don’t …

/ Linux
login-history

How To Clear or Remove Last Logins History in Linux

CLEAR OR REMOVE LINUX LOGINS HISTORY INFORMATION

Do you want to view or delete the last log on your Linux server? Then this article is for you. In it we will try to tell in detail and show the commands that you need to use, as well as check the result of your actions.
You need to know that there are three standard commands for Linux systems that show information …

/ Linux