LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-13-2009, 01:05 AM   #1
lxquestions000019
LQ Newbie
 
Registered: Apr 2009
Posts: 24

Rep: Reputation: 15
have long file list; want to find word matches(package deletion purposes)


i listed all the packages on my debian system and downloaded a "kicklist.txt" from the internet. after i did the apt-get remove command on the kicklist.txt it didn't delete anything and stopped after saying 10 programs on the list weren't found.

since that didn't seem to work; i did a hpkg >> package.txt; so now im looking at a list of packages INSTALLED and a list of packages i want to DELETE and i just was wondering if i could do a simple diff or merge type command to find the matches, output to another txt and delete that list.
 
Old 07-13-2009, 01:13 AM   #2
lxquestions000019
LQ Newbie
 
Registered: Apr 2009
Posts: 24

Original Poster
Rep: Reputation: 15
i think maybe the kicklist is outdated. does anyone know of a kicklist for knoppix 6 adriane?
 
Old 07-13-2009, 04:28 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Depending on what the kicklist looks like you could conceivably
feed it into a grep that you run against your list of installed
packages, e.g.:

grep -f kicklist packagelist


Cheers,
Tink
 
  


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
[SOLVED] find a word in a file, and change a word beneath it ?? vikas027 Programming 10 02-14-2008 09:46 PM
"argument list too long" - why am I getting this with the find command laggerific Linux - Software 11 10-01-2007 12:01 PM
translate from word list in a file Critcho Linux - Newbie 1 03-20-2007 07:30 AM
Where can I find instuctions for the Wipe file deletion program andy_g_gray Linux - Software 2 09-05-2003 03:24 AM
How 2 find a duplicate word in a text file cowardnewbie Programming 1 09-16-2001 11:57 PM


All times are GMT -5. The time now is 01:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration