Skip to content

Instantly share code, notes, and snippets.

@Twwy
Last active August 29, 2015 14:11
Show Gist options
  • Save Twwy/b755c64b357bcde91d6b to your computer and use it in GitHub Desktop.
Save Twwy/b755c64b357bcde91d6b to your computer and use it in GitHub Desktop.
rpm -qpl --scripts  xxx.rpm 

rpm的-q参数是用来进行查询的既可以对安装在系统上的包进行查询,也可以对一个未安装的rpm包进行查询。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment