GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Operating System
Go To First  |  Previous Question  |  Next Question 
 Operating System  |  Question 75 of 94    Print  
UNIX find, grep, sed
What is FIND, GREP and SED? Could you please give me the difference between all the three? Where we use this commnands?


  
Total Answers and Comments: 1 Last Update: March 15, 2008     Asked by: sarun5 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 14, 2008 15:55:38   #1  
cdubet Member Since: March 2008   Contribution: 3    

RE: UNIX find, grep, sed
find : locate a file matching conditionsexfind /src -name "*.c" : list all files contains in /src matching *.cgrep : search a text pattern in (a) file(s)ex grep abcd toto.csed : substitute/replace strings. usually used in script. use the unix regular expressions (ex [0-9] = all digits)as usually in unix, you can mix commands ex find / -exec grep txt {} ; list all files containing txt
 
Is this answer useful? Yes | No

 Related Questions

Hi Guys,Does anybody know, how to find and change the Administrative password other than from control panel option, if the Windows XP is corrupted, this was a question asked to my friend for his interview
Read Answers (7) | Asked by : Mathew

Latest Answer : you have to install separate database for unix o.s. Then only u can use select statement.I hope this is correct ...
Read Answers (1) | Asked by : raju

Can any of you pls. answer these queries.1. Whaere is the password entry of a user sgtored.2. How will u find out your terminal file name.3. What is the maximum length of a filename in Unix.4. Which ls options makes directory and executables seperatly.5. What does three links to a directory indicate6. What is the block size in Unix.
Read Answers (1) | Asked by : udaybond

How can I remove the files which is specified with its extention name in single attempt in unix ?(ex: feb*.txt )
Read Answers (1) | Asked by : Rehaman SA

Latest Answer : I think using pipe method can get the read only files orusing file attributes ...
Read Answers (1) | Asked by : simran

Hi all!The problem is in that:How to find out what TS mode (Application or Administrator) was selected during Terminal Server installation ?(e.g. someone installed Terminal Server on w2k3 system and after some time I want to know what TS mode was selected)May be any command-lines commands or native windows tools are exist ?PS. I try to find this info in Administrative Tools > Terminal Server Licensing /Terminal Services Configuration/Terminal Services Manager but I can't find it there
View Question | Asked by : QuaDRupole

In Unix what is UMASK Value? Is it octal form or decimal form? And when we give permissions in chmod, as 644, is this 644 in octal or decimal. Does any conversion happen inside the kernel to do this? I am confused about this ....
Read Answers (1) | Asked by : Somashekar

Latest Answer : UNIX and linux, both has GUI. They are different at their kernel level. UNIX systems were created in 1970's by AT&T. The code was not open source and it was the most advance machine for software professionals.Inorder to get the open source version ...

Latest Answer : You can use even compress command as :compress ...
Read Answers (2) | Asked by : ayypss

While executing a process some of pages are stored in main memory and some in virtual memory. if computer do not get required page in main memory then how it find exact location of that page in virtual memory.
Read Answers (1) | Asked by : Vaibhav Gupta


 Sponsored Links

 
Related Articles

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we’ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

Operating Systems and IT Certification

With the burst of information technology that is becoming a part of the dominant culture throughout the world, are programs that are designed to help those in this area to grow in knowledge.  By understanding the different technologies that are available, one is able to use them and impleme
 

Unix Client Server Technology

Unix Client Server Technology Understanding the Role of Unix When discussing client server technology it is important to understand UNIX one of the first primary building blocks for network possibilities that continues its influence today UNIX is an operating system designed for multi tasking by mul
 

How to Find Scholarships

How to find Scholarships To obtain a scholarship knowing where to look is crucially important While finding scholarships may sound easy at first it can become very difficult Scholarships are not well advertised and you will want to spend time researching it In addition to scholarships you will also
 

How to find colleges that offer scholarships

How to find colleges that offer scholarships Even if parents have been saving money to pay for the cost of their child s education scholarships can be a great way to help the child receive their degree with no debt If you are a student whose parents did not save money or they refuse to pay for your
 

How To Determine If Your CRM System Will Fail

How To Determine If Your CRM System Will Fail One of the primary reasons why many CRM systems fail is because of the quality of the data Even if you are using a high end CRM system your company will have no chance of success if it is processing data that is incorrect or faulty Fortunately data quali
 

Semaphore in UNIX - An Overview

Semaphore in UNIX An Overview Insight about Semaphore First let us begin our topic by giving an insight to what is actually a semaphore A semaphore is nothing but a term used in UNIX for a variable which acts as a counter So the next question that comes in mind is what for we need this variable It
 

Customer Information Control System (CICS)

Customer Information Control System CICS In this tutorial you will learn about Customer Information Control System CICS CICS An overview Functions of CICS Task Transaction and CICS Components mosgoogle CICS An overview CICS is called as Customer Information Control System The main functionality of C
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape