Search Results

Search: Posts Made By: vdurieu
1,309
Posted By vdurieu
Script with variable and condition
Hello

newbies question...

I just need a script able to launch a command when a condition is matched :
#!/bin/ksh

SIZ = 'cat /nurp/control.lst|wc -l'
if test "$SIZ" -gt 0
then
echo 1...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy