Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is the first character of the output in ls l command?

1179


What is grep and how do you use it?

1074


What is the search command in unix?

1059


What is the use of egrep command in unix?

1144


How do I search a whole word in vim?

1144


What is the difference between cat and more command?

1244


Is ‘du’ a command? If so, what is its use?

1107


What are reported commands?

1092


How can you see the command line history?

1094


What command will change your prompt to myprompt?

1272


What is $0 bash?

1149


Are you in or at the office?

1091


Explain command to view process running?

1093


How to use grep command to list find the records of a file containing 10 different strings?

1096


What is awk good for?

1106