10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
This is my first day on Linux shell!!!
So, I am trying to write a script that that will pick up pairs of files with the same name (not the same content) but that are different in one character (one is *R1 the other is *R2)...
Something like: look ate the files, whenever they are the... (3 Replies)
Discussion started by: ALou
2. UNIX for Beginners Questions & Answers
I want to compare same column in two files, if values match then display the column or display "NA".
File 1 :
rrr (1 Reply)
Discussion started by: hkoshekay
I need to compare the /etc/passwd files from 2 servers, and extract the users that are similar in these two files. I sorted the 2 files based on the user IDs (UID) (3rd column). I first sorted the files using the username (1st column), however when I use comm to compare the files there is no... (1 Reply)
Discussion started by: anaigini45
4. Shell Programming and Scripting
"AFafa": "FAFA","AFafa": "FAFA"
I need to insert a new line before the closing brackets "}" so that the final output looks like this:
"AFafa": "FAFA","AFafa": "FAFA"... (6 Replies)
Discussion started by: SkySmart
5. UNIX for Dummies Questions & Answers
I have a file1 like this:
And I have a second file like this:
chr19 46118590 46119564 MACS_peak_1499 3100.00 chr19 46122009 46148405 CYP2B7P1 -2445
chr1 7430312 7430990... (7 Replies)
Discussion started by: a_bahreini
6. Shell Programming and Scripting
I have a server that is running AIX, running a tool that converts various printstreams (AFP/Metadata) to PDF. This is done using a rexx script and an off the shelf utility.
Each report (there's around 125) uses a certain script file, it's basically a text file.
I am trying... (5 Replies)
Discussion started by: jeffs42885
7. Shell Programming and Scripting
I am new in unix.
I have below requirement:
I have two files at the same directory location
File1.txt and File2.txt (just an example, real scenario we might have File2 and File3 OR File6 and File7....)
File1.txt has :
record2... (4 Replies)
Discussion started by: Deepak62828r
8. Shell Programming and Scripting
I have four files, I need to compare these files together.
As such i know "sdiff and comm" commands but these commands compare 2 files together. If I use sdiff command then i have to compare each file with other which will increase the codes.
Please suggest if you know some commands whcih can... (6 Replies)
Discussion started by: nehashine
9. Shell Programming and Scripting
I have two text files.The first and the 2nd file have data in the same format
For e.g. The first file has
table_name1 column1 sum(column1) max(column1) min(column1)
table_name1 column2 sum(column2) max(column2) min(column2)
table_name1 coulmn3 sum(column3) max(column3) min(column3)
... (13 Replies)
Discussion started by: ragavhere
10. UNIX for Dummies Questions & Answers
I would like to know how to compare a listing of directories that begin with the same four numbers ie.
and move all these directories into one directory
Thanks in advance (2 Replies)
Discussion started by: tgibson2