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 / 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

What is the first character of the output in ls l command?

1216


Differentiate cmp command from diff command.

1180


What is command substitution?

1380


What are bash commands?

1170


What is grep and how do you use it?

1118


How can we use grep command in unix?

1218


What is the pipe command?

1197


How to find $ai_serual resolved path by using unix

1762


How do I clear my terminal history?

1181


Give the command for finding the current date.

1121


What is the use of awk command in unix?

1136


Explain the steps that a shell follows while processing a command.

1238


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2273


What do know about tee command and its usage?

1187


What is the behavioural difference between cmp and diff commands?

1289