文档2 LINUX常用命令

 

111

11111

 

 

Status Options

#!/bin/sh

 

max=12

for x in `seq -f %02g 1 ${max}`

do

useradd user$x

done

 

--state Return and print firewalld state

--reload Reload firewall and keep state information

--complete-reload Reload firewall and loose state information

 

Permanent Options

--permanent Set an option permanently

Usable for options maked with [P]

 

Zone Options

--get-default-zone Print default zone for connections and interfaces

--set-default-zone=<zone>

Set default zone

--get-active-zones Print currently active zones

--get-zones Print predefined zones [P]

--get-services Print predefined services [P]

--get-icmptypes Print predefined icmptypes [P]

--get-zone-of-interface=<interface>

Print name of the zone the interface is bound to [P]

--get-zone-of-source=<source>[/<mask>]

Print name of the zone the source[/mask] is bound to [P]

--list-all-zones List everything added for or enabled in all zones [P]

--new-zone=<zone> Add a new zone [P only]

猜你喜欢

转载自www.cnblogs.com/good-study/p/9072044.html