10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ?
Source File
*************
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
4 Replies
2. Shell Programming and Scripting
Hi,
I want to compare two files and print out their differences
e.g:
t1.txt
a,b,c,d
t2.txt
a,b,c,d,e,f
Output
e,f
Currently I do this long about way
tr ',' '\n' <t1.txt >t1.tmp
tr ',' '\n' <t2.txt >t2.tmp
diff t1.tmp t2.tmp > t12.tmp
I have to this comparison for 100 files, so... (3 Replies)
Discussion started by: wahi80
3 Replies
3. Shell Programming and Scripting
Hello,
I am PhD student (Biomedical sciences) and very new to Linux. I need some help with the following task :
I have files in the following format for their names :
An_A1_nnn_R1.txt; An_A1_nnm_R1.txt; An_A1_nnoo_R1.txt
An_A2_nnn_R1.txt; An_A2_nnm_R1.txt; An_A2_nno_R1.txt
... (8 Replies)
Discussion started by: Julio Finalet
8 Replies
4. Shell Programming and Scripting
Hi Experts,
My requirement is to compare the second field/column in two files, if the second column is same in both the files then compare the first field. If the first is not matching then print the first and second fields of both the files.
first file (a .txt)
< 1210018971FF0000,... (6 Replies)
Discussion started by: krao
6 Replies
5. Shell Programming and Scripting
Gurus,
I have one file which is having multiple columns and also this file is not always contain the exact columns; sometimes it contains 5 columns or 12 columns. Now, I need to find the difference from that particular file. Here is the sample file:
param1 | 10 | 20 | 30 |
param2 | 10 |... (6 Replies)
Discussion started by: buzzusa
6 Replies
6. UNIX for Dummies Questions & Answers
Hi
I had deleted important files from my company server :(
the server is HPUX
and i don't know how to undo rm command or how to restore the files ..
iam appreciate for any help
Thanx ... (5 Replies)
Discussion started by: Eisa
5 Replies
7. Programming
Hi All,
I am writing some data's into a file from C++ program. The files which i am writing is of fixed length . say 232 in length per line.
I am writing as . my c code is as
... (0 Replies)
Discussion started by: arunkumar_mca
0 Replies
8. Shell Programming and Scripting
Hi,
I'm looking for someone who can think in sed. Basically, I need the trailing characters on every line in a file to be deleted. These characters are all in capitals, and always follow a number, but they often vary in number
For instance, on the line:
2006_10_9_p20_TALK
I'd want to... (4 Replies)
Discussion started by: Laurel Maury
4 Replies
9. UNIX for Advanced & Expert Users
hello..what is the current situation or lastest version of UNIX?? Is there any where i can read more about it?? (2 Replies)
Discussion started by: joanne6298
2 Replies
10. UNIX for Dummies Questions & Answers
Well, I hope this way you will respond to my inquiries.
I have 4 unix servers,with static ips (though i dont think this is an issue)....i can telnet and rlogin from one to the other....if i FTP from on et othe other and try to execute :
cd /user return
/user : no such file or... (1 Reply)
Discussion started by: BAM
1 Replies