Ubuntu Pastebin

Paste from omenius at Mon, 10 Apr 2017 20:42:41 +0000

Download as text
1
2
3
4
echo '#!/bin/bash' > restore
echo sudo apt-get install `grep Remove /var/log/apt/history.log | tail -1 | sed -e 's|Remove: ||g' -e 's|([^)]*)||g' -e 's|:[^ ]* ||g' -e 's|,||g'` >> restore
chmod +x restore 
./restore
Download as text