×
UNIX.COM Login
Username:
Password:  
Show Password






👤

Showing results 1 to 25 of 410
Search took 0.05 seconds.
Search: Posts Made By: arunkumar_mca
Forum: UNIX for Beginners Questions & Answers 04-06-2018
Replies: 5
Views: 161
Posted By arunkumar_mca
I need to have only 1 and 10 the column so I have...

I need to have only 1 and 10 the column so I have cut the record and tried to do sort on key. It dont worked.


cut -d ";" -f1,10 file| sort -u -k1,1


I got
11001;102376462.96...
Forum: UNIX for Beginners Questions & Answers 04-06-2018
Replies: 5
Views: 161
Posted By arunkumar_mca
First occurance of first field. For example 11001...

First occurance of first field. For example 11001 having many rows. I want to get only first row
Forum: UNIX for Beginners Questions & Answers 04-06-2018
Replies: 5
Views: 169
Posted By arunkumar_mca
With the previous thread I tried to do like and...

With the previous thread I tried to do like and getting all zeros

awk '{ printf "%03d",$9}' myfile

---------- Post updated at 10:51 PM ---------- Previous update was at 10:48 PM ----------
...
Forum: UNIX for Beginners Questions & Answers 04-06-2018
Replies: 5
Views: 161
Posted By arunkumar_mca
Extract only first occurance

Hi All,

From the below file. I need to get only the first occurrence and print. I tried to do it in separate grep not coming as expected

Original file
...
Forum: UNIX for Beginners Questions & Answers 04-06-2018
Replies: 5
Views: 169
Posted By arunkumar_mca
Prepend 0 to a field in a record

Hi All,

I have a file like below. In the field 9 I am having 14,014,3,001/009 on the records. I want to convert the field to a three digit value. For example 14 should 014 , 3 should 003

...
Forum: UNIX for Beginners Questions & Answers 04-05-2018
Replies: 1
Views: 154
Posted By arunkumar_mca
Getting count of Key in another file

Hi All,

I need to find the count of key occurrence from one file corresponding to another file. Any help please. I am planning to read the CUST_ID in a while loop and do a grep , is there a way...
Forum: UNIX for Beginners Questions & Answers 04-01-2018
Replies: 4
Views: 222
Posted By arunkumar_mca
My mistake , my file I was wrong with file. The...

My mistake , my file I was wrong with file. The above awk solution worked perfect
Forum: UNIX for Beginners Questions & Answers 03-31-2018
Replies: 4
Views: 222
Posted By arunkumar_mca
Does my files needs to be in sorted order ?. It...

Does my files needs to be in sorted order ?. It worked for the sample record I am having big file with that it is not working.
Forum: UNIX for Beginners Questions & Answers 03-31-2018
Replies: 4
Views: 222
Posted By arunkumar_mca
Compare one file and get the count of multiple file

Hi All,

I need to compare a record in one file and find the matching across two file.

This is the master file. File name : CUST.dat
CUST_ID
9998
10000
10004
10005
Forum: UNIX for Beginners Questions & Answers 03-29-2018
Replies: 4
Views: 248
Posted By arunkumar_mca
Match file and find count

Hi All,

I have transaction in one file.I want to match that to another file and find the number of time the transaction is available on the other file.I need to take each record from TRANSFILE...
Forum: UNIX for Beginners Questions & Answers 03-25-2018
Replies: 6
Views: 350
Posted By arunkumar_mca
Converting negative number to positive in a file

Hi ALL,

I am having semi column separated file as below. I am having negative values for the records starting with 11095. How can I convert that positive number

I tried this below seems not...
Forum: UNIX for Beginners Questions & Answers 03-24-2018
Replies: 8
Views: 260
Posted By arunkumar_mca
I tried to do sort to overcome the problem. It...

I tried to do sort to overcome the problem. It didn't worked. Any idea how to sort the file based on first 2 field

sort -k1,5 -k7,2 LATAM_TRANS >> TEMP---------- Post updated at 05:37 PM...
Forum: UNIX for Beginners Questions & Answers 03-24-2018
Replies: 8
Views: 260
Posted By arunkumar_mca
It worked. But it replaced the order. If you look...

It worked. But it replaced the order. If you look below the second position is the order it is like 1,2,3,4. After doing the replace in command it replaced the order

Input file:

...
Forum: UNIX for Beginners Questions & Answers 03-24-2018
Replies: 8
Views: 260
Posted By arunkumar_mca
Both gawk didn't worked. I got the below error. I...

Both gawk didn't worked. I got the below error. I think I am using old version of awk, Below is what I tried my input files in format like LATAM_TRANS so I replace the input file in the command

...
Forum: UNIX for Beginners Questions & Answers 03-23-2018
Replies: 8
Views: 260
Posted By arunkumar_mca
Copy pattern inside the file

Hi all,

I have files and have a missing record. I need copy the existing record and mark those values up. For example in the below file 11048 is missing. I need to copy 22001 and copy those...
Forum: UNIX for Beginners Questions & Answers 03-23-2018
Replies: 1
Views: 170
Posted By arunkumar_mca
Sum the total based on ID

Hi

I am having a set of files which will have the card details and the amount that was spending on the card. Each file will have the set of cards and dollar amount spend on it. I am trying to sum...
Forum: UNIX for Beginners Questions & Answers 03-08-2018
Replies: 4
Views: 253
Posted By arunkumar_mca
Worked perfect... Thanks a lot ----------...

Worked perfect... Thanks a lot

---------- Post updated at 05:42 AM ---------- Previous update was at 05:40 AM ----------



Tried both and worked. thanks a lot
Forum: UNIX for Beginners Questions & Answers 03-08-2018
Replies: 4
Views: 253
Posted By arunkumar_mca
Need to remove lines starting with an ID from all fine in a director

Hi All,

I have almost 200 files in a directory I want to remove all lines in each file that is starting with 88002 and 88003. I tried with grep -v and if I plan to do that I need to for all the...
Forum: UNIX for Beginners Questions & Answers 03-01-2018
Replies: 3
Views: 210
Posted By arunkumar_mca
Below is the output drwxrwxrwx 19 mgr ...

Below is the output

drwxrwxrwx 19 mgr 36058 4096 Mar 1 06:43 /pq1
lrwxrwxrwx 1 mr4 pq1 23 Feb 12 10:11 /pq1/buffer -> /pcsan/pq1/buffer
drwxrwxr-x 2 mr4 pq1 4096 Mar 1 15:01 /pq1/dataCS
Forum: UNIX for Beginners Questions & Answers 03-01-2018
Replies: 3
Views: 210
Posted By arunkumar_mca
Directory not displaying (strange)

Hi All.

I am facing a strange scenario

(c13:pq1:/pq1/buffer>) ll ../dataCS/*
ls: cannot access ../dataCS: No such file or directory
(c13:pq1:/pq1/buffer>) cd ../dataCS...
Forum: UNIX for Beginners Questions & Answers 02-23-2018
Replies: 3
Views: 282
Posted By arunkumar_mca
List all files and copying to different location

Hello All,

I want to copy all files from the list below to a path /qa0/repo/AS/CPY

(lnx17:qa0:/qa0/repo/AS>) ls -lrt | grep 'Feb 14'
-rw-rw-r-- 1 Ks1 qa0 39 Feb 14 20:11 HHH.dat...
Forum: Linux 11-06-2017
Replies: 7
Views: 834
Posted By arunkumar_mca
Thanks again. I don't think the I/O bandwidth is...

Thanks again. I don't think the I/O bandwidth is issue. Because once I run the parallel with all time the run happening I am seeing the CPU usage as as 99% . So if that is an issue with I/O then the...
Forum: Programming 11-03-2017
Replies: 2
Views: 524
Posted By arunkumar_mca
Thanks . Below is my scenario. I am to do it in...

Thanks . Below is my scenario. I am to do it in either , I don't want shared library to add to lapack. I want lapack to added to my shared library

MY engine (C++) ----> Use shared library...
Forum: Programming 11-03-2017
Replies: 2
Views: 524
Posted By arunkumar_mca
C++ linking library to a library

Hi All,

My application main engine will use a shared library where we do many operation. We are trying to implement the linear algebra operation on the shared library for that I need to link my...
Forum: Linux 10-30-2017
Replies: 7
Views: 834
Posted By arunkumar_mca
Below is what I traced back. Basically there will...

Below is what I traced back. Basically there will be huge file we are processing that in parallel . The file transaction_data.dat will be compared with the spend.dat. The file spend is a small...
Showing results 1 to 25 of 410

 


All times are GMT -4. The time now is 09:56 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.