kelevra@lab:~$ sudo apt-get remove --purge `dpkg -l | awk '{print $2}' | grep gnome` && apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: python-renderpm libgtop2-common xsane libmagick++10 libplot2c2 libcamel1.2-14 python-qt4-common python-reportlab-accel libcairomm-1.0-1 libglibmm-2.4-1c2a pstoedit python-qt4 libpangomm-1.4-1 python-qt4-dbus python-sip4 libedataserver1.2-11 libgtkmm-2.4-1c2a libwmf-bin xsane-common libgtop2-7 imagemagick python-elementtree perlmagick python-reportlab libpstoedit0c2a Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: cheese* gksu* gnome-keyring* gnome-mime-data* gnome-mount* hplip-gui* inkscape* libbonoboui2-0* libebook1.2-9* libeel2-2.20* libgksu2-0* libgnome-keyring0* libgnome-menu2* libgnome2-0* libgnome2-common* libgnomecanvas2-0* libgnomecanvas2-common* libgnomeui-0* libgnomeui-common* libgnomevfs2-0* libgnomevfs2-common* libgnomevfs2-extra* libgtkhtml3.14-19* libgtkhtml3.16-cil* libpam-gnome-keyring* monodoc-browser* 0 upgraded, 0 newly installed, 26 to remove and 0 not upgraded. After this operation, 100MB disk space will be freed. Do you want to continue [Y/n]?
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for:
apt-get install kde