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...")
 
 
Line 5: Line 5:
  
 
network objects
 
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/    : //'
+
  printf "localhost\n-t network_objects -o ''obj_grp'' -pf\n-q\n" | queryDB_util   
 +
 
 
services
 
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/    ://'
+
  printf "localhost\n-t services -o ''icmp-requests'' -pf\n-q\n" | queryDB_util  
  
 
[[category:CPMI]]
 
[[category:CPMI]]

Latest revision as of 01:14, 24 October 2013


get group object members

network objects

printf "localhost\n-t network_objects -o obj_grp -pf\n-q\n" | queryDB_util  

services

printf "localhost\n-t services -o icmp-requests -pf\n-q\n" | queryDB_util