Difference between revisions of "IPSO csh interactive while loop example"

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services
(Created page with " ip390[admin]# '''while ( 1 ) ; ps -auxwww | grep xpand ; sleep 1 ;''' while? '''end''' category:sysadmin")
 
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
  ip390[admin]# '''while ( 1 ) ; ps -auxwww | grep xpand ; sleep 1 ;'''
 
  ip390[admin]# '''while ( 1 ) ; ps -auxwww | grep xpand ; sleep 1 ;'''
 
  while? '''end'''
 
  while? '''end'''
 +
 +
# '''while ( $i < 100 ) ; ping -c 1 -W 1 192.168.1.$i | grep time ; @ i++ ;'''
 +
while? '''end'''
 +
 +
  
 
[[category:sysadmin]]
 
[[category:sysadmin]]

Latest revision as of 18:59, 9 December 2013

ip390[admin]# while ( 1 ) ; ps -auxwww | grep xpand ; sleep 1 ;
while? end
# while ( $i < 100 ) ; ping -c 1 -W 1 192.168.1.$i | grep time ; @ i++ ; 
while? end