Linux

Linux which Command

The Linux which command is used to identify the path of executable files. The path is identified by searching it in the path environment variables. Syntax of Linux which is as follows: What is the PATH variable? PATH is an environment variable in Linux and other Unix-like operating systems that tells the shell which directories

Linux which Command Read More »

Linux ifconfig command

NOTE: Before reading this article, I would like to inform you that the ifconfig command is outdated, and is not recommended anymore. The ip command is the current replacement for the ifconfig command. Even though this program may be outdated, you may be in a system where you may need this command, so I’ll start

Linux ifconfig command Read More »

Setting Hostname in Debian

There are multiple ways of setting hostname in Debian or Linux system. You can temporarily change the hostname, or permanently apply the changes to a system. Let’s go over these methods. Setting hostname temporarily Let’s start with the temporary and simple method. The hostname command in Debian allows you to set up the system hostname

Setting Hostname in Debian Read More »

Installing MySQL on Debian/Ubuntu

The installation for MySQL on Debian will be through the APT repository. Now there is a default MySQL server installation and one that is offered by Oracle through their software repositories. We’ll take the official route by first adding Oracle’s sources first and then installing the MySQL server. How to Install MySQL on Debian/Ubuntu Before

Installing MySQL on Debian/Ubuntu Read More »

The tail command in Linux

The tail command in Linux displays the last few lines/blocks of any file, the number of lines/blocks being dependent on the options passed when using the command. Also read: The uptime Command in Linux The Linux tail command default output When no options are provided, the tail command prints the last 10 lines for all

The tail command in Linux Read More »

Linux chmod Command

The chmod (change mode) command in Linux is used to change the access mode of a file, based on the type of user accessing the file and the type of permission associated with accessing the file. File Permissions and User Groups For understanding what the types of permissions and the types of users are, let

Linux chmod Command Read More »