Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sat Mar 25, 2023 11:07 pm


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - FreeBSD list files installed by a specific software package - "pkg_info -L"
Author Message
Post subject: FreeBSD list files installed by a specific software package - "pkg_info -L"  |  Post Posted: Mon Oct 17, 2011 8:26 am
How to list files installed by a specific package in FreeBSD using pkg_info.

Quote:
PKG_INFO(1) FreeBSD General Commands Manual PKG_INFO(1)

NAME
pkg_info -- a utility for displaying information on software packages

SYNOPSIS
pkg_info [-bcdDEfghGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]
[-t template] -a | pkg-name ...
pkg_info [-qQ] -W filename
pkg_info [-qQ] -O origin
pkg_info
...
-L Show the files within each package. This is different from just
viewing the packing list, since full pathnames for everything are
generated.


Code:
# pkg_info -L bash-4.1.9
Information for bash-4.1.9:

Files:
/usr/local/man/man1/bash.1.gz
/usr/local/man/man1/bashbug.1.gz
/usr/local/bin/bash
/usr/local/bin/rbash
/usr/local/bin/bashbug
/usr/local/share/bash/alias
/usr/local/share/bash/arith
/usr/local/share/bash/arith_for
/usr/local/share/bash/bg
/usr/local/share/bash/bind
/usr/local/share/bash/break
/usr/local/share/bash/builtin
/usr/local/share/bash/caller
/usr/local/share/bash/case
/usr/local/share/bash/cd
/usr/local/share/bash/colon
/usr/local/share/bash/command
/usr/local/share/bash/compgen
/usr/local/share/bash/complete
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO