port命令记录
port 命令记录
# fetch the ports tree
portsnap fetch extract
# update the locally cached copy of the ports database
portsnap fetch update
# search the ports tree,install BASH
cd /usr/ports
make search name="bash" | less
cd /usr/ports/shells/bash
make config install clean
# change the default shell
chsh -s /usr/local/bin/bash
cd /usr/ports/net/ntp
make clean
make
make install clean