Difference between revisions of "queryDB util"

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services
(Created page with " == get group object members == network objects printf "localhost\n-t network_objects -o obj_grp -pf\n-q\n" | queryDB_util | grep ": Name:" | sed -e 's/(Table: network_ob...")

Revision as of 20:26, 29 July 2013


get group object members

network objects

printf "localhost\n-t network_objects -o obj_grp -pf\n-q\n" | queryDB_util  | grep ": Name:" | sed -e 's/(Table: network_objects) //g' | sed -e 's/Name: //g' | sed -e 's/    : //'

services

printf "localhost\n-t services -o icmp-requests -pf\n-q\n" | queryDB_util | grep ": Name:" | sed -e 's/(Table: services) //g' | sed -e 's/Name: //g' | sed -e 's/    ://'