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

Answer Posted / phani

FIND & GREP
Basically FIND & GREP are the UNIX commands shared through
the FILTERS .Where is SED (STREAM) is one of the main
editor.

FIND : Find is an exclusive command used to find
files/folders are other information.and this is powerfull
then windows.

ex : # find /raja -name shekar -print
output : raja/shekar


Grep : This is also one of the important command used to
globally searching the regular expression in the file .
GERP is grepping the information character by character.
(i.e) from file .

ex 1) : #GREP "cat" raja
2) : #GREP -i "cat" raja (for case sensitive)
2) : #GREP -v "cat" raja (v represent negative )

OUTPUT :if we have an file raja with data regarding cat we
can clearly explain.


Finally SED (STREAM)

SED : It is an editor but non interactive .

ex : # sed -e 'd/chain/dog/f' raja > shekar

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are reported commands?

568


Explain command to view process running?

617


How do I clear my terminal history?

586


What is awk used for?

623


How do I use grep to search for a file?

583






Write a command to kill the last background job?

620


What is the search command in unix?

603


hw will u use awk in replacing cahrs and files

2736


What is the use of awk command in unix?

581


Differentiate cat command from more command.

578


How do I search for text in vi?

586


What are some command words?

567


What is the command to view process running?

576


What is $0 bash?

649


What difference between cmp and diff commands?

724