Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-03-2005, 06:21 PM   #1
Registered: Jan 2004
Distribution: Mandrake 10.1
Posts: 33

Rep: Reputation: 15
Need help with sorting through "database"

I have a massive file containing all exe files on windows machines.
I have a second file that contains all exe files I'm not interested in.

I would like a third file to be created that shows all exe's from the first file minus the ones in the second.

I'm thinking it's best to use a combination of grep and look command, but have no real idea how to even begin this.

Old 11-03-2005, 07:04 PM   #2
Registered: Jan 2004
Distribution: Mandrake 10.1
Posts: 33

Original Poster
Rep: Reputation: 15
grep -iv example.exe data.list
This works to show the entire list except for example.exe

Now if only I could go through a list one by one and replace example.exe with each line in this file.

Someone here has to know a command to do this and pipe into this grep command


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Snort database: Closing connection to database "" Homer Glemkin Linux - Security 2 07-14-2005 06:58 PM
How to find back "history" database after "history -c" ? san_lss Linux - Newbie 1 01-07-2004 11:53 AM
Can't find init file for database "SID_NAME" cyrilbritto Linux - General 0 08-20-2003 07:42 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:26 PM.

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