[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: erased all XWindows



Roberto Sanchez wrote:

Sam Rosenfeld wrote:

I erased all my X-related bin files (that is, including apps running on X) and did not have them backed up. I could reinstall them one at a time but
that seems very laborious -- is there some better way?


sudo apt-get --reinstall install `dpkg -S /usr/X11R6/bin/* | sed 's/^\([^,]*\):[^,]*/\1/' |sort |uniq`

Essentially, <snip> [this does magic].


Sweet.

Linux is so awesome.

--
Kent



Reply to: