Search Results

Search: Posts Made By: polineni
2,861
Posted By polineni
for i in `cat abc.txt` do if [ $i -gt 1000 ] ...
for i in `cat abc.txt`
do
if [ $i -gt 1000 ]
then
echo " $i is greater than 1000"
exit
fi
done
2,931
Posted By polineni
it checks weather the file exists or not
it checks weather the file exists or not
Showing results 1 to 2 of 2

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