1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

Update commands.md

This commit is contained in:
John-Paul Bader
2015-01-07 11:34:47 +01:00
parent c64d80399f
commit 83328c71b3

View File

@ -71,6 +71,7 @@ zpool upgrade <pool> # upgrade the storage pool to latest ver
# Ports # Ports
portsnap fetch # fetch the latest portfiles portsnap fetch # fetch the latest portfiles
portsnap update # update the portfiles on disk with the previously fetched portfiles portsnap update # update the portfiles on disk with the previously fetched portfiles
portsnap update -p /usr/jails/basejail/usr/ports # update ports tree for jails
whereis <portname> # show the directory of the portfile whereis <portname> # show the directory of the portfile
cd /usr/ports/*/<portname> # find the parent directory of a given portname cd /usr/ports/*/<portname> # find the parent directory of a given portname
locate <portname> | grep ports # manual way of searching for ports locate <portname> | grep ports # manual way of searching for ports