Search Results

Search: Posts Made By: lkeswar
2,703
Posted By lkeswar
need help
Hi,

For each deployment external team was creating the version numbers .so i have to pick the latest version and pass the version in curl command to download .tar file.

e.g:
Name Last...
2,703
Posted By lkeswar
Need to get versioning of the branch name dynamically
Hi,

I need to get versioning of the branch name dynamically. can you please help us to achieve this functionality.

curl...
739
Posted By lkeswar
Can you please suggest me the script how to do...
Can you please suggest me the script how to do alternate wednesday.
739
Posted By lkeswar
Need help on script
Hi,

How to schedule a cron job to run the script on every alternate wednesday. Could you please help me out.


Thanks in advance
1,017
Posted By lkeswar
Hi Ravinder, ...
Hi Ravinder,

filename=prior-product-purchaseproductpurchase001_20150608.txt
echo ${filename##*-}

output it is displaying : purchaseproductpurchase001_20150608.txt

but we need output should...
1,017
Posted By lkeswar
Help in scripting
HI,

client is dropping a file in daily basis e.g., "prior-product-purchaseproductpurchase001_20150608.txt" and need to eliminate some part of the string in filename and make it as...
1,017
Posted By lkeswar
Need help in scripting
Hi,

We have a requirement,client will post the file into ftp server with name as "prior-product-purchaseproductpurchase001_20150608.txt".One copy should be in this FTP server. After that we need...
1,647
Posted By lkeswar
Need help to extract part of the string
Hi,

I have a string with name as 20140412-s1-Potopolive_promos_20140412. So I want to extract only Potopolive string. Could you please help me the command.

O/p : Potopolive


Thx in advance
1,319
Posted By lkeswar
I also tried using diff and i got the out of...
I also tried using diff and i got the out of memory error. Could you please let me know how can we compare large files and put it into a difference in another file.


Thx,
1,319
Posted By lkeswar
Compare two files in Linux
Hi,


I want to compare two files and put difference into another file.

file1 having 84M records and file2 having 85M records. I tried the below command to get the difference and it is not...
1,248
Posted By lkeswar
shell scripting to determine special chars in file
Hi,

I need all your help to achieve the below functionality.

I have a big 2 GB file and inside the file we need to identify, whether having a comma(,) or pipe(|) or tab or fixed position or...
879
Posted By lkeswar
Need help in script
Hi,

I need help.

filename comes like this 20150217-v1-PH_THOMSON_Reuters_Bangkok_Conceptual_Ready_P20_170215 and i want to extract part of the string in the filename as...
841
Posted By lkeswar
a) timestamp comes as 20140826232223 b) Yes. it...
a) timestamp comes as 20140826232223
b) Yes. it comes as latest timestamp
c) files will create frequently in a hour for every directory

e.g:- file as
...
841
Posted By lkeswar
Need help with finding the latest files
Hi,

Actually i got a client requirment and i need experts help here.

we have 30 parent directories and in that we have so many subdirectories and files. i want to find only latest timestamp...
717
Posted By lkeswar
Need help on compare
Hi,

I need your help with the below mentioned issue:

I have 2 files say,

file1.txt:

id|no|cde
a|4|7
b|3|2
c|8|8
d|8|9

file2.txt:

id|no|cde
a|4|6
b|2|2
c|8|8
647
Posted By lkeswar
Hi, I am trying only a particular string as...
Hi,

I am trying only a particular string as below

sed -i 's/AdminDistro/'globalmail@cisco.com'/g' /opt/apps_po/config.ksh

however i want to search and replace whenever the string...
647
Posted By lkeswar
Need help in sed
Hi,

I have a config file named as "param.ksh". Inside this file we are having the below content

#!/bin/ksh

owner=$USER
#supportmail="rajesh@gmail.com"
#supportmail="lynetter@yahoo.com"...
1,266
Posted By lkeswar
Hi, Yes u r right if we can use file...
Hi,

Yes u r right if we can use file <filename> it will display the format of file. Requirement is to check the files whether the file is in Mac or dos? If file is Mac it will display the...
1,266
Posted By lkeswar
Need to check the file formats
Hi,

I want to check the incoming files whether the file is Mac file or dos/windows file in unix shell script.

Sometimes client is posting Mac file and sometimes it is dos file. Could you...
1,244
Posted By lkeswar
Need small help
Hi all,


I have two files in my folder

1.index.jsp
2.maintenance.jsp

Once hit the URL in IE,It will call the index.jsp file than application working...
Forum: UNIX and Linux Applications 07-22-2009
2,307
Posted By lkeswar
Hi, I tried but helpless.am getting the...
Hi,

I tried but helpless.am getting the error Your identification has been saved in \n\n\n.
Your public key has been saved in \n\n\n.pub

Thx,
Forum: UNIX and Linux Applications 07-22-2009
2,307
Posted By lkeswar
Need help in writing shell script
I have written a shell script and when i ran the script,for some point of time it is asking to press enter key manually using keyboard.So i need it the enter key in shell itself.
ex : in my shell...
Forum: UNIX and Linux Applications 06-17-2009
2,291
Posted By lkeswar
Need small help to write the code in unix
Hi,

I tried with the shell script but it is not loading into table for the below script

#!/bin/bash

#export custno=""

custno=$(awk -F"," '{print NR " " $3}' 'datafile.txt' | grep 1 |...
Forum: UNIX and Linux Applications 06-16-2009
2,291
Posted By lkeswar
Need small help to write the code in unix
Hi all,

I get data-files which has a particular identified on the 1st record( header ), based on which I've to load a constant for the 1st column of every row. How do I set in the control file...
Showing results 1 to 24 of 24

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