saving package list

Andrew Jarrett jarrett.andrew at gmail.com
Thu Aug 28 15:09:24 UTC 2008


On Tuesday 26 August 2008 01:20:46 pm Willy K. Hamra wrote:
> is there a way to get a list of these packages i
> typed?

Just a thought, but maybe this would help a little:
cat ~/.bash_history | grep "apt-get install" | cut -d ' ' -f 4-

That's assuming you use "sudo" to install your packages (if you don't change 
the 4- to be a 3- at the end of the command) and that you don't clear out 
your .bash_history all of the time.

Just a thought,
Andrew





More information about the kubuntu-users mailing list