How To Check Disk Space In Linux?

How To Check Disk Space In Linux?

While using a Linux system on a desktop, laptop, or server the disk space is important to monitor. The disk is used to store different types of data like files, database servers, codes, libraries, executables, etc. Linux provides different commands and tools in order to check disk space from a different point of view. Mainly … Read more

Linux less Command Tutorial

Linux less Command Tutorial

The less command is one of the commands which is used to display and read file contents into the terminal in Linux and Unix systems. less command makes it very easy to navigate, search in a file with a keyboard shortcut. less command first created for Unix systems where there is no GUI and every … Read more

Print Line Number For Grep Command

Print Line Number For Grep Command

grep is a popular tool in order to search and find a given term in files. grep can search multiple files at the same time and match using regular expressions etc. While searching files the matched lines can be printed to the screen with the grep command. In this tutorial, we will examine different ways … Read more

Linux sudo Command – Run Commands with Root Privileges

Linux sudo Command - Run Commands with Root Privileges

sudo command is a special command which is used to execute normal user commands with root privileges without logging as the root user. The sudo term is the short form of the “SuperUser Do” or “substitute user do“. This is not a security problem because in order to execute commands as root the user should … Read more

How To Use SFTP Command to Securely Transfer Files and Folders?

How To Use SFTP Command to Securely Transfer Files and Folders?

FTP is a very popular protocol that is named File Transfer Protocol used to transfer files between client and server over the network or internet. FTP exists for a long time and at the time it created security was not important. But today IT needs security and the SFTP or Secure File Transfer Protocol is … Read more

Linux comm Command Tutorial

Linux comm Command Tutorial

Linux provides the comm command in order to compare two sorted files line by line. The most important thing about using the comm command is the two files should be already sorted. The comm command is first created for the Unix operating system in 1973 and became popular late 1980s. First appeared for the Unix … Read more

chmod Recursively – Change Files and Folders Permissions Recursively In Linux

chmod Recursively - Change Files and Folders Permissions Recursively In Linux

Linux uses file permission in order to regulate access, modification of the files, and folders. This regulation is called files and folder permissions where every file and folder can be set for different permission for different operations. By using the permission unwanted users can not access, read, or change given files and folders. chmod recursive … Read more

Find Files In Linux From Command Line

Find Files In Linux From Command Line

Linux is a very flexible operating system that provides different commands and ways to find files. As a command-line-based operating system, Linux provides a very powerful command named find in order to find files according to the different aspects. In this tutorial, we will examine how to find files according to their names, sizes, locations, … Read more

Linux SCP Command Tutorial – Transfer Files Securely

Linux SCP Command Tutorial - Transfer Files Securely

scp or secure copy is a command-line tool used to copy files and folders securely over the network or internet. Files or folders transferred over the network are secured by encrypting them with different algorithms. Also, parties are authenticated by using passwords or certificated for security reasons. scp Command Syntax The scp command has the … Read more

Bash for Loop Tutorial with Examples

Bash for Loop Tutorial with Examples

Loops are one of the most popular mechanisms used in programming and scripting languages. As a popular scripting language Bash provides different loop mechanisms in order to iterate, enumerate, or run repetitive tasks easily. In daily operations, a lot of different tasks may require repetitive actions that can be accomplished by using different loops. Bash … Read more