Debian常用命令
1、查看端口被占用的程序
lsof -i:25
--------------------------
2、修改域名解析
nano /etc/resolv.conf --修改域名配置
/etc/init.d/networking restart --重启网卡
3、SSH传输文件命令
man scp
1. scp /etc/resolv.conf username@B_HOST:/etc/resolv.conf.A
2.scpusername@B_HOST:/etc/resolv.conf/etc/resolv.conf.B
3.scpusername_on_A@A_HOST:/etc/resolv.confusername_on_B@B_HOST:/etc/resolv.conf.A
相关推荐
Antech 2020-04-20
Jaystrong 2020-08-02
gaogaorimu 2020-07-18
FanErZong 2020-07-18
liwf 2020-07-09
thatway 2020-06-28
糊一笑 2020-06-27
tangjianft 2020-06-25
86284851 2020-06-16
LUOPING0 2020-06-16
sshong 2020-06-12
wys 2020-06-10
mmyCSDN 2020-05-28
fanhuasijin 2020-05-28