Unix Archive

Find command in linux

In this post, we will see about find command in linux. Find is an important and one of most widely used command in Unix and Linux operating systems. It is used to search and locate …

Grep command in unix

In this post, we will see about grep command in unix. The grep command stands for “Global Regular Expression Print” and is used to search text or searches the given file for lines containing a …

What is awk print $1?

In this tutorial, we will see about what is meant by awk print $1. awk is interpreted programming language. It is very powerful and used for text processing.Awk stands for the names of its authors …

sed replace string in file

In this post, we will see how to replace String in file using sed in linux. Problem How to find and replace “Text1” with “Text2” using sed command in linux. Solution Sed stands for stream …

find file by name in linux

In this post, we will see how to find file by name in linux. You can use “find” command to find file by name. Find file in the current directory Here is a simple command …

vi show line numbers in linux

In this post, we will see how to show/hide line number in vi/vim text editor. Let’s say you are working on any shell script and you are debugging an issue. In this scenario, line number …

awk substr example

In this post, we will see how to use awk substr to select substring. awk command has a lot of useful functions. One of them is awk substr function. awk substr function is useful to …

grep multiple Strings in linux

In this post, we will see how to grep multiple Strings in linux. Let’s say your application is deployed on linux machine and you need do analysis of log file and you need to find …

Join Our News Letter - Stay Updated

Subscribe to Awesome Java Content.
You can like our facebook page Java2blog