commit 8ea643df1fdcb02ecaaefaf6d006aebad39c68bf parent 42a8353ee57c5accefaad1e0cbf0f2fb0ed3fd73 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Wed, 18 Oct 2017 10:01:56 +0200 Merge branch 'master' of a3nm.net:git/mybin Diffstat:
leftover-packages.sh | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/leftover-packages.sh b/leftover-packages.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# https://unix.stackexchange.com/q/397136 + +apt-get -s autoremove -qq \ + -o Apt::AutoRemove::RecommendsImportant=false \ + -o Apt::AutoRemove::SuggestsImportant=false | + grep '^Remv' | cut -d' ' -f2 | sort +