LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2010, 12:09 AM   #1
mohamad
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Rep: Reputation: 0
reverse find


how would the syntax of reverse find be...
i want to type a name and then find it and delete it from a file i have?!
thanx
 
Old 06-10-2010, 01:34 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Try "grep"

EXAMPLE:
grep SOMETHIING FILES/*

Google for "linux grep examples" for more (better ) examples.

Good luck!
 
Old 06-10-2010, 02:39 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Hi,

The way I read the OP's question, this is a 2-way step:

1) Finding the files in question (paulsm4's reply can help you with that),
2) Removing the found word/sentence and remove it from the found file (sed comes to mind).

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reverse dns to find all virtual hosts for an ip address rogerdal Linux - Networking 3 12-24-2011 03:42 PM
Reverse Tunneling / Reverse port forwarding in SSH dynamics Linux - Networking 3 11-23-2009 11:31 AM
[SOLVED] bind reverse zone; no name with reverse lookup deadeyes Linux - Server 3 10-12-2009 10:54 AM
[Reverse engineering] Find references to strings Moraxus Programming 11 08-27-2009 02:13 PM
Reverse DNS davespink Linux - Networking 2 02-27-2005 07:44 PM


All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration