Search Results

Search: Posts Made By: fahadaizaz
Forum: Programming 02-04-2009
8,981
Posted By fahadaizaz
Continuing the question ...
Hi,

I am sorry this is not exactly the reply to the question asked, but a continuation of this question.

I have a similar situation, we have these Solaris boxes, without the development...
1,831
Posted By fahadaizaz
Hi, You cannot use the cat command using the...
Hi,

You cannot use the cat command using the FTP session that is kinda obvious. Why dont you get the file, get the word count and delete it
1,686
Posted By fahadaizaz
@ quine 1) Is this all being recorded moment...
@ quine

1) Is this all being recorded moment by moment in one file like a log, or are the "USE" records in a separate file?

Basically yes this is recorded moment by moment. But most of the time...
3,860
Posted By fahadaizaz
check this code and may be this helps you solve...
check this code and may be this helps you solve the problem


tab1[1]=1
tab2[1]=3
tab1[2]=1
tab2[2]=5
TOTAL=2

for ((i=1; i<=TOTAL; i++))
do
tabR[i]=`expr ${tab2[i]} - ${tab1[i]}`
done
...
3,860
Posted By fahadaizaz
try this for element in tab1 ...
try this



for element in tab1
$tab_T1[element]=`expr ${tab2[element]} - ${tab1[element]}`
3,860
Posted By fahadaizaz
use the below example area[5]=`expr...
use the below example

area[5]=`expr ${area[11]} + ${area[13]}`
30,039
Posted By fahadaizaz
You can use crontab to schedule the FTP for every...
You can use crontab to schedule the FTP for every monday

You can add below commands to your shell script to FTP data

WINDOWS_SERVER=10.1.1.1
LOCALDIR=/home/mydir
FILENAME=abc.txt


#...
1,686
Posted By fahadaizaz
Help building the logic for a script
Hi guys,

I am new to shell scripting, i need your help to tackle a problem.
I have a single file, sample is below:


2008:07:08 07:01:14.360 (tid 4) INFO no bonus notifications to send...
1,883
Posted By fahadaizaz
Hi Franklin I did as you mentioned. But all...
Hi Franklin

I did as you mentioned. But all in vain. I am still getting the same error.


file1

a = 167259, total usage = 248810
a = 819080, total usage = 378869
a = 423639, total usage =...
1,883
Posted By fahadaizaz
array access in END block failure
Hi guys i am new to shell scripting. I wrote this script that simply searches a column value of file1 from file2.

please look at the code below:

awk '
FILENAME==ARGV[1] { file_1_data[FNR]=$0;...
Showing results 1 to 10 of 10

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