Search Results

Search: Posts Made By: simi28
21,643
Posted By simi28
Thanks a bunch for the quick reply and...
Thanks a bunch for the quick reply and suggestions. Probably will touch base with operations team and get it installed.

Thanks again
21,643
Posted By simi28
UUENCODE command does not work in Linux
Hi All,

We just migrated from Sun unix box to Redhat Linux 5.5 (CentOS). One of my email script that attaches a log file and send email. This script used to work on sun box but does not work on...
2,793
Posted By simi28
Extracting Some fields from current file to another file
Hi,

I have multiple files in a directory all I am trying to do is to read the files in the directory and extract data from 2nd field till 10th field and put it in a new files. The files are pipe...
1,144
Posted By simi28
How to handle it with multiple files....
Thanks a bunch for the quick reply. I have one question. Incase of multiple or collection of files. How should we handle this situation.

Will appreciate any advice.

Thanks again
1,144
Posted By simi28
Problem with the Script....
Please advice I am having problem with the script below. The issue is the red below in the code.



#!/usr/bin/ksh

#Program Name and Directory Name
PROG=`basename $0`
PROG_DIR=`dirname $0`...
3,273
Posted By simi28
Logs are not generated
I tried writing the above script to a log something like below. But it generates a 0 byte log file and does not write anything to it.

cd $FILEDIR
/opt/iexpress/gnupg/bin/gpg -e -r $KEYNAME $...
3,273
Posted By simi28
Trying to perform encryption through script
Hi,

I have a small basic script encryption.sh as shown below. All I am trying to do is to encrypt a file which is passed through the script.
It works fine when I execute this script directly...
1,639
Posted By simi28
Concatenating the lines with different pattern
Hi,

I have put a similar question in one of the other threads through which I got the solution shown below but I have some more condition to add to it, hence have further queries on it. I...
7,146
Posted By simi28
Extracting and then Concatenating the lines
Thanks a bunch for your help and advice.
I am really sorry, I should have put the question below with my original question. Is there a way to grep on multiple pattern.
My original file is...
7,146
Posted By simi28
Concatenation the lines.....
Thanks a bunch for the suggestion. All the three suggestion worked for me.
I am thinking of using : sed 'N;s/\n/,/' infile.

I little new to unix. Would you be able to explain how this is...
7,146
Posted By simi28
Concatenating two line into one
Hi,

I have a scenario where I have a data file something like this below:


SH1,QC,12334
RD1,MO,898909,35476
SH1,BC,34556
RD1,FG,2341212,909090
SH1,TR,787878
RD1,GH,12345,676767...
27,460
Posted By simi28
Getting Distinct values from second field in a file....
Hi

I have a pipe delimited file. I am trying to grab the DISTINCT value from the second field. The file is something like:

1233|apple|ron
1234|apple|elephant
1235|egg|man

the output I...
2,353
Posted By simi28
Replace third field of the first record in a file....
Hi,
I am new to unix and am trying to do something below:

I have a pipe delimited file with millions of records. I need to replace the third column of the first record to the number of lines in...
Showing results 1 to 13 of 13

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