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

Answer Posted / rachita kathuria

find - this command examines a directory to find a file
matching some criteria.

grep - it searches for a string or pattern in a file and
display the lines containing the pattern.

sed - it combines work of several filters and perform non
interactive operations on a data stream.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to view process running?

568


why metadb requires a seperate slice to create Solaris volume manager

2547


Which command is used to create a directory?

561


What is the unix command to confirm a remote host is alive or not?

574


Is command prompt unix?

574






What is .sh file?

612


Why is it called grep?

554


What is updatedb?

578


What is the function of grep command in unix?

580


What does touch command do in unix?

719


What is the command to find hidden files in the current directory?

573


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

949


What is in grep command?

640


How do I run a bash script?

575


Which unix command lists files/folders in alphabetical order?

610