Search Results

Search: Posts Made By: deepanshu
10,810
Posted By deepanshu
i m using bash and my code is like this /*...
i m using bash
and my code is like this

/* Code starts here */

counter=1
file=""
ls -1tr abc* | while read record
do
if [ counter -ne 0 ]
file=${record}
counter=0
fi
done
...
10,810
Posted By deepanshu
i have used export but this is not working, may...
i have used export but this is not working, may be i am not using correctly
can u plz give me a example of that
;-)
10,810
Posted By deepanshu
Global variable
I have written a shell scritp in which i am using a variable which is declared before a while loop and i am updaitng the variable in while loop and want to use its updated value outside the loop. I...
Showing results 1 to 3 of 3

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