Linux mkdir Command Tutorial with Examples

Linux mkdir Command Tutorial with Examples

The mkdir command is used to create directories and folders in Linux operating system. The mkdir name comes from the “make directory” which can be also expressed as “make dir” where the “dir” is generally used for directory and there is a command with the same name. Also, the mkdir command can be used to … Read more

Linux du Command Tutorial with Examples

Linux du Command Tutorial with Examples

The du command is used to get information about the disk usage in Linux. The du command provides a lot of useful information about disk usage like directory size, file size, free percentage, etc. Print File Sizes as Byte The du command is used to list given files and directories sizes in the byte unit. … Read more

Linux touch Command Tutorial

Linux touch Command Tutorial

Linux provides the touch command in order to create files, change, and modify timestamps. The most popular use case for the touch is creating an empty file where the data or content will be put later. Create A File with touch Command The touch command can be used to create a file. This file will … Read more

How To Create Directories/Folders In Linux?

How To Create Directories/Folders In Linux?

Directories or Folders are used to store files and folders. Directories can be created from GUI by using a desktop environment and application or command-line interface commands. In this tutorial, we will learn how to create directories in Linux. This tutorial can be used for all major Linux distributions like Ubuntu, Debian, Mint, Kali, CentOS, … Read more

Delete Non-Empty Directory In Linux – “rmdir directory not empty” Solution

Delete Non-Empty Directory In Linux - "rmdir directory not empty" Solution

The rmdir command is used to remove directories in Linux operating system. But when we try to use the rmdir command to remove the specified directory we get the “rmdir directory not empty” error. In order to remove a non-empty directory, what should I do? Can I use the rmdir in order to remove a … Read more

SSH “Error Permission Denied(publickey)” Error and Solution

SSH "Error Permission Denied(publickey)" Error and Solution

During establishing an SSH connection you may get the “Error permission denied (publickey)” error. This error prevents you from connecting to the remote system via SSH. The remote system can be Linux, Ubuntu, Mint, Kali, Linode Server, Digital Ocean Server or AWS server, etc. This error is generated because of cryptographic keys. “Error Permission Denied(publickey)” … Read more

How To Enable SSH on Ubuntu (All Versions)?

How To Enable SSH on Ubuntu (All Versions)?

SSH (Secure Shell) is a protocol created to connect and manage systems remotely in a secure manner. SSH is the most popular protocol to manage Linux and Network systems via a command-line interface. As a Linux distribution, Ubuntu supports the SSH protocol as an SSH server and SSH client. In this tutorial we will learn … Read more

ShellCheck – Analyse, Show Suggestions and Warnings For Shell Scripts

ShellCheck - Analyse, Show Suggestions and Warnings For Shell Scripts

Shell scripts are an important part of Linux systems. Most of the daily jobs and general jobs are done with shell scripts. The ShellCheck is a static analysis tool created to analyze the provided shellcode and give suggestions for better shell scripts and show warnings for some errors. The ShellCheck can be installed into all … Read more

Copy Directory with SCP Command

Copy Directory with SCP Command

Linux provides the scp command in order to copy files and folders in a secure way. The scp command can download or upload directories to or from a remote system. The scp command is integrated with the SSH command and subsystem. So in order to use scp command to copy a directory, SSH should be … Read more