linux操作笔记记录

export https_proxy=https://10.10.2.91:8888
export http_proxy=http://10.10.2.91:8888

桥接模式:需要配一个静态ip,可以与外网互通
NAT模式:可以自动分配ip,但外网无法ping通本地

lsof -i :6001 查看端口进程
搜索所有文本中的关键字
cat `ls *.log` | grep ERROR > found.txt
搜索全部文件ERROR关键字
grep 'ERROR' ./*

vi 编辑器
c+f 上一页
c+b 下一页
/ERROR 搜索ERROR关键字

posted @ 2018-12-04 10:36  纸鸢&红豆·绿豆  阅读(143)  评论(0编辑  收藏  举报