码迷,mamicode.com
首页 > 其他好文 > 详细

port命令记录

时间:2020-01-28 00:06:11      阅读:74      评论:0      收藏:0      [点我收藏+]

标签:tab   命令   bash   cal   class   update   usr   local   default   

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

port命令记录

标签:tab   命令   bash   cal   class   update   usr   local   default   

原文地址:https://www.cnblogs.com/CoolMark-blog/p/12237135.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!