Linux cat Command Tutorial

Linux cat Command Tutorial

Linux provides the cat command in order to print file content into the terminal or command line interface. Even though it may seem a simple command the cat command provides different features for different tasks In this tutorial we examine the Linux cat command to print files, display line numbers, create file etc. Display File … Read more

How To Print Range Of Columns Using awk Command?

The awk command is used to edit the command output or text files in a streaming way. The awk command provides a lot of features and commands to print content of the provided text. We can use the awk command in order to print range of columns. Print Range of Columns The print command can … Read more

What Is “awk ‘{print $1}'”?

What Is "awk '{print $1}'"?

The awk is a very powerful command or interpreted scripting language to process different text or string data. The awk is generally used to process command output or text or configuration files. The awk provides ‘{print $1}’ command in order to print the first column for the specified file or output. In this tutorial, we … Read more

How To Force Remove Directory In Linux?

Linux provides the rmdir command in order to delete a directory. But while using the rmdir command we may get an error like “rmdir: failed to remove ‘nmap’: Directory not empty”. This is caused by a non-empty directory that contains child directories and files. But we can remove this directory by forcing removal with different … Read more

Bash Concatenate Strings Tutorial

Bash provides very similar features to the programming languages. Concatenating strings are one of the most popular features of the bash. The string concatenation is simply joining multiple strings together or adding all strings into the first string. There are different methods for concatenating strings in bash and we will examine some of them. Concatenate … Read more

Move Directory In Linux

Move Directory In Linux

Directories are used to store other directories and files in a hierarchycal way. Some time we may need to move directories to the different paths or inside another directory. Linux provides the mv command in order to move directories. There are different ways to move directories in Linux like multiple move, verbose move, approve every … Read more

How To Unzip File In Linux?

How To Unzip File In Linux?

Zip is one of the most popular archives or compression formats and algorithms. The zip is used to compress data into a single file. Multiple files or folders can be zipped into a single zip file. In this tutorial, we examine different cases to unzip files in Linux. Install unzip Command In most of the … Read more

How To Use Sed To Replace String In File?

The sed command is an important command used to edit files or command outputs. The sed can be used to find and replace strings for a file easily via the command line interface. The sed name comes from the Stream Editor which provides advanced features to work with file contents. In this tutorial, we examine … Read more