Shell Script

The sprintf() Function In C/Linux

The sprintf() function belongs to the printf() family of functions. In this module, we are going to discover more about this function and how we can use it in our programs. Defining the sprintf() function The Linux Man Pages for sprintf() defines it as : Basically sprintf() stands for “String Print”. Unlike standard printf() which […]

The sprintf() Function In C/Linux 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 »

The mkdir command in Linux

The mkdir command in Linux is used to make directories, hence the command is named mkdir. With traditional GUI systems, if you want multiple directories, you have to create one directory at a time. The mkdir is a very flexible and customizable command in this matter. Let’s look at the functionality. Also read: How to

The mkdir command in Linux Read More »