<p dir="ltr">On Apr 29, 2014 4:39 PM, "Nils Kassube" <<a href="mailto:kassube@gmx.net">kassube@gmx.net</a>> wrote:<br>
><br>
> William Scott Lockwood III wrote:<br>
> > On Apr 29, 2014 4:20 PM, "Nils Kassube" <<a href="mailto:kassube@gmx.net">kassube@gmx.net</a>> wrote:<br>
> > > W Scott Lockwood III wrote:<br>
> > > > On Tue, 2014-04-29 at 22:45 +0200, Nils Kassube wrote:<br>
> > > > > sudo apt-get remove --purge<br>
> > > > > linux-image-2.6.32-{{24..35},37,41}-generic<br>
> > > > > And probably you also have the headers for those kernels which<br>
> > > > > you<br>
> > > > > may also remove:<br>
> > > > > sudo apt-get remove --purge<br>
> > > > > linux-headers-2.6.32-{{24..35},37,41}-generic<br>
><br>
> > > > This is inefficient. Why do you have to invoke apt-get more than<br>
> > > > once?><br>
> > > Yes, it may be inefficient, but what's the problem? Those two<br>
> > > commands each fit on a single line which makes it safer for copy &<br>
> > > paste IMHO.<br>
><br>
> > Uh, the problem is that it is inefficient, and performs steps that you<br>
> > don't need to repeat with a tiny amount of knowledge of shell<br>
> > scripting. I'm all for volunteer teaching, but try not to pass on bad<br>
> > habits.<br>
><br>
> I really don't see a problem invoking apt-get twice instead of once. Why<br>
> should I make it more complicated than necessary? I don't think that<br>
> would be helpful. I'm trying to help solving a problem - I don't need to<br>
> demonstrate my shell scripting skills ...<br>
><br>
><br>
> Nils</p>
<p dir="ltr">A) This isn't rocket science.<br>
B) Your solution may not remove all the cruft.</p>