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

Which command will print your home directory on screen?

546


Enumerate some of the most commonly used network commands in unix?

620


What is a bash command?

627


How do I use grep to search for a file?

583


what is the advaantage of each user having its own copy of the shell?

2038






What does the “echo” command do?

624


Enlist some filename manipulation commands in unix.

555


What does the command '$ls | wc –l > file1' do?

684


What are file commands?

654


What is the behavioural difference between cmp and diff commands?

677


Write a command to display a file’s contents in various formats?

626


Why is grep called grep?

783


Can you explain a little bit about command substitution?

612


What is the command to compare two files in unix?

624


What is the function of grep command in unix?

590