$ for file in /usr/bin/*; do pacman -Qo "$file" &> /dev/null || echo "$file"; doneIn this example I am returning all the files in /usr/bin that weren't put there by pacman, so that they can be moved to /usr/local/bin where they (most likely) belong.
by David Winterbottom (codeinthehole.com)
from All commands http://ift.tt/1iHOljp
No comments:
Post a Comment