What is FIND, GREP and SED ? Could you please give me the
difference between all the three? Where we use this commnands?

Answer Posted / dj

Find : This unix command is used to search for a particular
file in unix directory. Syntax for the same is
find .* - <file name pattern>


Grep : This command will search for a string/text in
specified file. syntax for the saame is

grep -<switches> <pattern> <FileName>

there are number of switches availbale for this command.

Sed : its an editor

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I open a port?

579


how to sort the content of the file based on numeric values

1240


What is command statement?

535


What does grep v do?

551


How can you see the command line history?

578






What are some command words?

549


How can we use grep command in unix?

606


Why is grep called grep?

771


What does this command do? Cat food 1 > kitty

971


How do you grep recursively?

545


What do chmod, chown, chgrp commands do?

624


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

752


What is the first character of the output in ls l command?

625


Name the unix command to find how many days the server has been up.

592


Write a command to kill the last background job?

610