what is diff between grep and find

Answer Posted / shalu

grep is used for finding any string in the file.
syntax - grep <String> <filename>
example - grep 'compu' details.txt
display the whole line,in which line compu string is found.

find is used to find the file or directory in given path,
syntax - find <filename>
example - find compu*
display aal file name starting with compu

Is This Answer Correct ?    28 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many number of sessions can one group in batches?

894


I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?

1661


How do you set a varible in incremental aggregation

1645


Explain the difference between a data warehouse and a data mart?

790


What is xml source qualifier transformation in informatica?

941


What is aggregator transformation in informatica?

733


What are the different clients of powercenter?

805


What is a surrogate key?

803


Debugger what are the modules, what are the options you can specify when using debugger, can you change the expression condition dynamically when the debugger is running.

2095


Why do we need informatica?

724


What are the types of data warehouses?

1166


In informatics server which files are created during the session rums?

851


difference between repository database and repository service?

828


-Which expression we can not use in Maplets?, -Can we join(relate) two dimensions in a schema? -Why and where we use 'sorted input' option?

5339


list out all the transformations which use cache?

878