Search Results

Search: Posts Made By: deep_kol
5,143
Posted By deep_kol
Thanks spacebar :b: My problem is fixed now...
Thanks spacebar :b:

My problem is fixed now . Thank you all . :)
5,143
Posted By deep_kol
didnt work $sed -n '/^bad/,/^Statistics/p' ...
didnt work

$sed -n '/^bad/,/^Statistics/p' SRC_DRS_ADDL_SLS_INFO_LM_DM.20121008.log > a.txt



"appworx ds prd >" is the prompt .
5,143
Posted By deep_kol
Thanks a lot Scrutinizer . it works. :b: below...
Thanks a lot Scrutinizer . it works. :b:
below code works fine . One more question why it it not working in command line.



appworx ds prd > pwd
/app/oretail/rdw/12/ds/prd/log
appworx ds prd...
5,143
Posted By deep_kol
joeyg, how to pass this 31 and 4 dynamically ....
joeyg,
how to pass this 31 and 4 dynamically . these nos are not fix .
it may be 26 and 10
5,143
Posted By deep_kol
Double quote also didnt work :( There is a...
Double quote also didnt work :(

There is a log file i want to capture the portion between line 28 and 31 .

f_email()
{
message "Sending Bad record details through Email "

...
5,143
Posted By deep_kol
pass parameter to SED
My script(ksh) works fine for
---------------------------------------------------
sed -n '28,31p' ${l_name} >> ${LOG_DIR}/Email.txt
---------------------------------------------------
But I wand...
6,658
Posted By deep_kol
:b: awk '$3 > 99 {$3=0}'1 file This Works...
:b:
awk '$3 > 99 {$3=0}'1 file

This Works fine .Can you please explain what is this 1
6,658
Posted By deep_kol
Update column in File
I Have a file a.txt in the below format

1 23 50
1 25 6666666666666
1 23 34


If the third column value is greater than two digit then make it 0


New Data File
---------------
a.txt
1...
2,095
Posted By deep_kol
We changed the code and put the following logic ...
We changed the code and put the following logic

START=$SECONDS
END=$SECONDS
echo elapsed time is $((END-START)) seconds


Can any one help how to convert this seconds in HH MM SS format
2,095
Posted By deep_kol
OS is AIX .
OS is AIX .
2,095
Posted By deep_kol
Total time taken
Hi Friend,
Need your help.
I have a file which has information of start time and End time . I need to find how much time takes to complete the job . how can I do it in unix command .

Example...
30,705
Posted By deep_kol
for loop in unix
hi,
can any one suggest why the program 2 is not working.
only difference is

for ab in *.txt
for ab in a_DATA.txt b_DATA.txt c_DATA.txt
------------------------------------
Program :1...
22,173
Posted By deep_kol
Hi Vgersh99, Thanks for your quick response. ...
Hi Vgersh99,
Thanks for your quick response.

I can make .zip fies like the following way

tar -cvf sales_mkt.zip M2_Sales.
But when I FTP it and try to unzip it in windows through winzip .It...
22,173
Posted By deep_kol
Thanks Its working !! tar -cvf sales_mkt.tar...
Thanks Its working !!
tar -cvf sales_mkt.tar M2_Sales
tar -xvf sales_mkt.tar

I need one more help.
can we make it .zip file .so that i can FTP the .zip file and
in windows i ll unzip it...
22,173
Posted By deep_kol
I dont think tar ll work . Bcoz for tar we need...
I dont think tar ll work . Bcoz for tar we need to have tape drive.
Then we can use tar -cvf filename.
22,173
Posted By deep_kol
compress Directory
Hi Friends,

I have a directory under which 10 more directories are there.
In each 10 directories there are several files.
I want to do FTP. But in FTP we cannt Transfer the main directory.
each...
2,853
Posted By deep_kol
Thanks a loooooooooooooooooooooooooooooot...
Thanks a loooooooooooooooooooooooooooooot summer_cherry.

You are a gem of gems.
you have done a great help to me..


Thanks
6,459
Posted By deep_kol
Thanks Guys for help . Thanks summer_cherry, ...
Thanks Guys for help .
Thanks summer_cherry,

It is really working...:b:
6,459
Posted By deep_kol
Hi Friends, Thanks for your help . I am...
Hi Friends,
Thanks for your help .
I am novice to Unix . I am working in ksh and csh .
now can youuplease explain how to execute that.
abc.txt is my file name.

drl your solution looks to be...
6,459
Posted By deep_kol
How to spilt a file
Hi ,
I have a file,abc.txt. like

abc.txt
=======
KOKRS EL01 RLDNR M2 RRCTY 1 ...
38,531
Posted By deep_kol
declare number variable in csh
Hi frind,
i="1"
while [ $i -le 5 ]
do
echo "i is $i"
data_file=$HYP_ROOT/import/efcextr$i.txt
echo "$data_file"
i=`expr $i + 1`
done
This is woring finly in ksh but not in ksh.
in ksh it...
3,018
Posted By deep_kol
Environment seetting
Hi Frinds,
I am getting following error while executing the script.
Can anybody suggest how to overcome this ?
Is environment seetting wrong ?

$ ksh hyp_incoming.csh
hyp_incoming.csh:...
2,402
Posted By deep_kol
last month's logfile
hi friends
I need a shell script which will do the following Task

Enter the month :
if you enter 1 then it ll show you last 1 month's (starting from today).log file in the current directry.
if...
1,906
Posted By deep_kol
Thanks a lot Friends!!
Thanks a lot Friends!!
1,906
Posted By deep_kol
Logfiles E-mailed
Hi All
There are some cron jobs ,which runs 24 hrs. Log files are generated when one job fails.
So I need the log files to be emailed to my personal e-mail id. So that I can see the log files at...
Showing results 1 to 25 of 25

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