Skip to content

Instantly share code, notes, and snippets.

@doorknob60
Created August 23, 2011 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doorknob60/1164438 to your computer and use it in GitHub Desktop.
Save doorknob60/1164438 to your computer and use it in GitHub Desktop.
Find where binaries are in Arch package
#!/bin/sh
package=`zenity --entry --text="Enter the name of an installed package"`
output=`pacman -Ql "$package" | grep /usr/bin`
zenity --info --text="$output"
#!/bin/sh
pacman -Ql "$1" | grep /usr/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment