现在的位置: 首页 > 综合 > 正文

Linux常识

2019年05月29日 ⁄ 综合 ⁄ 共 273字 ⁄ 字号 评论关闭

1.iptables
命令 -L, --list
范例 iptables -L INPUT

说明 列出某规则炼中的所有规则。

命令 -F, --flush
范例 iptables -F INPUT
说明 删除某规则炼中的所有规则。

2.远程登录ssh

ssh root@ip

3.远程拷贝scp

从本地copy到远程机:

scp localfile root@ip://remotefile

scp -r localfolder root@ip://remotefolder

从远程机copy到本地

ssh ip登录到远程机;

scp -r remotefolder root@localIP://localfolder

【上篇】
【下篇】

抱歉!评论已关闭.