Ubuntu 問答集
menu
  • close
  • close
  • Subject
  • Tool
  • Blog
  • GitHub
  • Subject
  • Tool
  • Blog
  • GitHub
  • close
  • close

如何觀看套件的「Control File」內容 - 關於「dpkg-query --control-show」

主要方式

先執行

$ dpkg-query --control-list man-db

顯示

postrm
triggers
config
postinst
md5sums
preinst
templates

然後執行

$ dpkg-query --control-show man-db postinst

就會顯示「/var/lib/dpkg/info/man-db.postinst」的內容

如同執行下面指令

$ less /var/lib/dpkg/info/man-db.postinst
Ubuntu 問答集 如何探索「Ubuntu」 如何觀看套件的「Control File」內容 - 關於「dpkg-query --control-show」
Links
  • 幸福內心禪
  • Linux TW
  • Ubuntu TW
  • Ubuntu Packages
  • Ubuntu Manpage
  • Ubuntu Community Help Wiki
  • Ubuntu Code of Conduct
  • Ubuntu 行為規範
  • Ubuntu Basic Skill
  • Ubuntu Exploration
By samwhelp Subscribe via RSS More Links