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

Windows ipconfig Equivalent In Linux

Windows ipconfig Equivalent In Linux

Windows operating systems provide the ipconfig command in order to display and manage IP addresses and configuration. Some system administrators and users coming from the Windows operating systems may ask that “What is Windows ipconfig command equivalent in Linux distributions?”. The short answer is ifconfig or ip command which is provided by different Linux distributions … Read more

How To List Services with systemctl list Command?

How To List Services with systemctl list Command?

Linux distributions provide different tools to manage services. Recently the systemctl command which is provided by the systemd tool is the most popular and widely used tool. Services are created and executed in order to provide different resources to local and remote users. In this tutorial we will learn how to use the systemctl command … Read more