Search Results

Search: Posts Made By: ravi.videla
9,949
Posted By ravi.videla
Issues in setting up remote syslogging
Hello,

I am using Ubuntu Linux and having problems in setting up remote syslogging. Appreciate your help on this.

On the server unix host, I have made following changes.

uncommented...
1,489
Posted By ravi.videla
Thanks for clarification. I will use sed.
Thanks for clarification. I will use sed.
1,489
Posted By ravi.videla
variable value is not getting replaced
Hi,

I am trying to generate list of employees from emp table who joined yesterday.

emp.sh

YEST=$(date --date='1 day ago' +%Y-%m-%d)
cat emp.sql | mysql -u <user> -p<pass> -h <host> -P...
2,757
Posted By ravi.videla
My apologies!! I missed the syntax you gave. It...
My apologies!! I missed the syntax you gave. It is working fine. See below.

echo "what is Ur name" | csum -h MD5 -
92ea5b2c3389fcc2af3df154a4da15dc -

I gave a sample file. Can you help me...
2,757
Posted By ravi.videla
Sorry. I already read about csum. I am unable to...
Sorry. I already read about csum. I am unable to use for the scenario i gave. csum takes file as input. Please read my reply posted earlier.
2,757
Posted By ravi.videla
As mentioned in my original post, AIX 5.3 does...
As mentioned in my original post, AIX 5.3 does not have md5sum. I am looking for something equivalent in AIX.
2,757
Posted By ravi.videla
I see csum is to create checksum on a file. But i...
I see csum is to create checksum on a file. But i only have a string as input. To provide more detail, my input is as below.


sid,question_text, ans_txt
1,what is your name, xyz
2,what product...
2,757
Posted By ravi.videla
has value of a string
Hello All,

Is there a way to generate a hash value for a string in unix. Below is example function in oracle to do this. I want to achieve similar thing in unix.

select...
4,479
Posted By ravi.videla
PERL - traverse sub directories and get test case results
Hello,

I need help in creating a PERL script for parsing test result files to get the results (pass or fail). Each test case execution generates a directory with few files among which we are...
808
Posted By ravi.videla
Awesome!! This works well. Appreciate if you...
Awesome!! This works well.
Appreciate if you can explain a little about the code and how it is working.
I could understand first line, Could not follow from $0,a, in 2nd line.
808
Posted By ravi.videla
File wtih Varying colmns - Convert to Rows
Hi All,

I am working with a delimited file generated by a system. It contains customer response to some questions. Source system can add/remove questions, which will result into addition/removal...
17,179
Posted By ravi.videla
I have only ftp access to the file server but no...
I have only ftp access to the file server but no ssh access. So i won't be able to use find command.
17,179
Posted By ravi.videla
I am getting "invalid command" error for fpmurphy...
I am getting "invalid command" error for fpmurphy in sftp prompt.
I do not have any control on the file creation process. All we have is ftp server user/pass, directory from where we should get...
17,179
Posted By ravi.videla
find command does not work from sftp prompt. It...
find command does not work from sftp prompt. It is not list of ftp commands. Am i missing something?
17,179
Posted By ravi.videla
Thanks Chubler for sample script. It works fine...
Thanks Chubler for sample script. It works fine for my problem.
Only one issue i can think of is how to ignore files which are incomplete or in the process of creation. ls -1 is giving list of all...
17,179
Posted By ravi.videla
I thought about this option. But could not find...
I thought about this option. But could not find any command for moving files in sftp help. mv is not working in sftp prompt.

I also see one limitation with this approach. Let me explain.

Say...
17,179
Posted By ravi.videla
We do not have rsync installed on our servers....
We do not have rsync installed on our servers. Any other thoughts from anyone else. Appreciate your help.
17,179
Posted By ravi.videla
Thanks Anurag. Approach looks OK. I am...
Thanks Anurag. Approach looks OK.
I am thinking more like finding all files which got created on ftp server since our last get "based on timestamp". Any other thoughts?
17,179
Posted By ravi.videla
sftp - get newly created files on incremental basis
Hi,

We have a sftp server which creates files daily and keeps 6 months of files on the server. We are creating a daily job to get the files and load into database. My problem is "how to get ONLY...
1,350
Posted By ravi.videla
Thanks a lot for your time. It is really helpful.
Thanks a lot for your time. It is really helpful.
1,350
Posted By ravi.videla
Thanks a lot. it works perfectly as i expected. ...
Thanks a lot. it works perfectly as i expected.
Appreciate if you can walk me through the piece of code and give some explanation.
1,350
Posted By ravi.videla
Thanks for quick reply. It works fine. Few days...
Thanks for quick reply. It works fine.
Few days back, I raised another question in this forum mainly to add 2 columns after column1. Below is URL of the post.
...
1,350
Posted By ravi.videla
title of newly added column
Hi,

I have a csv file. I need to add one column at begining of the file, It just contains one value "amr". I am able to add column but unable to put title to it.

Input Data:
...
10,074
Posted By ravi.videla
Thanks everyone. You all are very helpful and...
Thanks everyone. You all are very helpful and quick to reply to my question.
Now it is working perfectly as i expected. I can understand first print is to give the title row, NR>1 to consider from...
10,074
Posted By ravi.videla
Code provided by vgersh99 is working fine and...
Code provided by vgersh99 is working fine and adding hard coded values "key1,10" for all rows. Only pending thing is showing title for those columns as "key, value". Appreciate your help.
Showing results 1 to 25 of 28

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