Search Results

Search: Posts Made By: rajkumar_g
Forum: Programming 11-16-2010
1,518
Posted By Corona688
The syntax to use a function pointer is a little...
The syntax to use a function pointer is a little tricky, but the concept isn't hard at all if you know what a pointer is. It's just a pointer, that points to a function, because functions reside in...
2,217
Posted By Scrutinizer
while [ $count -le 10 ] you need [ $count -gt 0...
while [ $count -le 10 ]
you need [ $count -gt 0 ]
count='expr$count-1'
You used normal quotes instead of backticks, you forgot spaces before the $ and around the minus sign
2,217
Posted By jlliagre
#! /bin/ksh count=10 while [ $count -ge 1 ] ...
#! /bin/ksh
count=10
while [ $count -ge 1 ]
do
echo $count
count=$(expr $count - 1)
done
2,153
Posted By ygemici
why do you want to use "echo" ? try remove this...
why do you want to use "echo" ? try remove this and try again

#!/bin/ksh
read IP_ADD
echo nslookup $IP_ADD 2>&1| tee log1.txt
cat /amex/gcst/siva/Testr/log1.txt
awk '/^Name:/{print $2} '...
4,798
Posted By ctsgnb
find . -type f ! -name "*.so" -exec grep -l...
find . -type f ! -name "*.so" -exec grep -l "[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*" {} \;
3,091
Posted By michaelrozar17
This could help..may be grep sqsh | awk -F-...
This could help..may be

grep sqsh | awk -F- '{print $2,$3}' inputfile
Showing results 1 to 6 of 6

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