Search Results

Search: Posts Made By: jagu
1,928
Posted By jagu
HI Rudic, It is diplsy correct output.please...
HI Rudic,
It is diplsy correct output.please let me know if any other way to fetch for the same


set `date +%m" "%Y`
CURMTH=$1
CURYR=$2
if [ $CURMTH -eq 1 ]
then PRVMTH=12
...
1,928
Posted By jagu
Not able to fetch previous month first date and last date
I am not able to fetch first date and last date previous month


date -d -1month +%Y-%m-%d
date -d -1month +%Y-%m-%d


I need two format dd-mm-yyy
previous month 01-03-2016
previous month...
1,080
Posted By jagu
Hi Rudic, while running the script showing...
Hi Rudic,
while running the script showing invalid passwd.In the script i have passed the passwd it self.
Other project got resolved thanks for that.
1,080
Posted By jagu
Automated passwd protected sftp
I am trying to automate the process using password protected sftp upload the file in daily basis from our server to client server and exit successfully from remote server Getting issue while running...
5,818
Posted By jagu
Yes ssh also With passwd am able to login ssh and...
Yes ssh also With passwd am able to login ssh and sftp plaese let me know for the same if u have any update
5,818
Posted By jagu
How to configuration SFTP password less between two server A and B?
1.I created the SSH key in A server and that ssh key register(Copy SSH folder)in B server.
2.I am able to login the SFTP but while login it is assking password but I need without passwrd how to...
922
Posted By jagu
HI I have mentioned very small part of our...
HI
I have mentioned very small part of our script it is failing while pattern not found
please help me out this issue if any other way we can do ---my requirement is if the pattern not found...
922
Posted By jagu
Getting error while runing the script
While running the script it is failing while searching the pattern if the pattern is found then it is running fine if the pattern is
not found it terminate with error my requirement is if the...
6,403
Posted By jagu
How to setup sftp beteen two servers?
Hi

Could you please help me out how to configure between two server I don't have admin idea to setup the Sftp server

the requirements is we want to send a file to vendor so we need sftp...
1,038
Posted By jagu
I tried below script but getting error .'else' is...
I tried below script but getting error .'else' is not expected'

#!/bin/ksh
grep test file
if [ $? -eq 0 ]
`cat file | grep test > file2`
else
echo " Exit sucessfully"
fi
1,038
Posted By jagu
Insert data based on pattern
if it is finding some data based on pattern 'test' then insert else if has no data based on the pattern 'test' then exit successfully

cat file | grep test > file2
2,050
Posted By jagu
could plz explain code why u using two ((($(date...
could plz explain code why u using two ((($(date +%Y) + 99) % 100)))" bracket
2,050
Posted By jagu
it dispay same result ...
it dispay same result


XYP.ZAT2015.PGPNX.TRDIY

not display 2 digit year 'yy' numbers

---------- Post updated at 08:40 AM ---------- Previous update was at 08:22 AM ----------

thanks...
2,050
Posted By jagu
Hi Ravi working display XYP.ZAT2015.PGPNX.TRDIY...
Hi Ravi
working display XYP.ZAT2015.PGPNX.TRDIY but i need add 2 digit prevoius year only
XYP.ZAT15.PGPNX.TRDIY plz


---------- Post updated at 08:11 AM ---------- Previous update was at...
2,050
Posted By jagu
i am using korn shell and Aix operating system it...
i am using korn shell and Aix operating system it is not working
2,050
Posted By jagu
How to rename file name?
Hi ,

Please help me am new in shell script how to rename file name as per previouse year


date | cut -c 27-28
mv file XYP.ZAT15.PGPNX.TRDIY


output should display

renamed as ...
2,392
Posted By jagu
thanks Rudic for ur help the fields are contained...
thanks Rudic for ur help the fields are contained some comma like 123,23.20 that is why it displayed the wrong value
now the issue got resolved thanks for quick replay
2,392
Posted By jagu
I checked it display 2 dercimal number and but...
I checked it display 2 dercimal number and but the numeber are in correct checked sum should be diplay like
2481298.32
248112298.32
24812458.32
2,392
Posted By jagu
using ur code the value display wrong like...
using ur code the value display wrong like 101.000000|451.000000 it should be .2 decimal plzzzzzzz
2,392
Posted By jagu
Hi Rudic Plz help me out cancatenate the...
Hi Rudic
Plz help me out cancatenate the 1,2,3,4 ,5 and sum of 6 and 7 fileds should display in single line
6 and 7 th fileds are 8 digit floting point like 12345.23
Input file

1 2 3 4 5...
2,392
Posted By jagu
Plz help me out use OFMT operator in awk programming
Hi
While calculating the sum of 6 and 7 fileds it is calculate the wrong value because of floating point like 7898778.10


awk '
BEGIN { FS = OFS = "|"
}
NR == 1 {
next
}
{ ...
1,240
Posted By jagu
Insert values into a file 0 as per the date wise
Hi
The file contains 12 months of date and less than 12 months of data I want to display if date filed less than 12 months of data I want to insert a value amount 1 to amount4 0 and dates as well....
1,012
Posted By jagu
Getting error not able remove the record
export PATH=$PATH:/opt/IBM/db2/V9.5/95fp4/bin
DB2INSTANCE=bancbcb1
export DB2INSTANCE
db2 "connect to dyaxprpt user xyz using byx"
echo "Load lastest data start"
Row=$(db2 –x “delete from...
Showing results 1 to 23 of 23

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