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 ?
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
2. Shell Programming and Scripting
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Pranav (1 Reply)
Discussion started by: Pranav Bhasker
3. UNIX for Advanced & Expert Users
Hi Guys ,
we have one directory ...in that directory all files will be set on each day..
files must have header ,contents ,footer..
i wants to compare the header,contents,footer ..if its same means display an error message as 'files contents same' (7 Replies)
Discussion started by: Venkatesh1
4. Shell Programming and Scripting
I want to compare 2 files and create third file with uncommon content.
ajay suhas tom nisha vijay mahish
ajay suhas tom nisha
expected output file content
Is it possible in single command ?
Ajay (6 Replies)
Discussion started by: ajaypatil_am
5. Shell Programming and Scripting
I've two files with data like below:
So,the field separator in file1.txt is a comma and in file2.txt,it is |
Now,the output should be... (2 Replies)
Discussion started by: asyed
6. Shell Programming and Scripting
I have very abstract need of "comparing two variables" and take subsequent actions.
please refer to image below
I have a part of script which reads a file and generates variables based on... (4 Replies)
Discussion started by: animesharma
7. Shell Programming and Scripting
I have the following problem:
There are two csv files
aaa1, aaa2, ... aaan
aaa1, bbb2, ... bbbn
aaa1, ccc2, ... cccn
bbb1, bbb2, ... bbbn
zzz1, zzz2, ... zzzn
ccc1, matchvalue2 (7 Replies)
Discussion started by: ghl10000
8. UNIX for Dummies Questions & Answers
I want to compare the content of two directories recursively to check if the two directories have the same files. How can I do that? (2 Replies)
Discussion started by: xyzt
9. Shell Programming and Scripting
how can i compare the content of two variables using the if or for loops.
I have 2 variables which was formed as result of commands pass into them but i want to now compare the 2 contents and echo where their is a match
if #... (5 Replies)
Discussion started by: sam4now
10. Shell Programming and Scripting
I need to write a script to find out if there are any .c files created/removed from the last time i monitored the files available. i first created a file to contain all the .c files available on the system. (ls *.c > file1)
I created another file using the same command.
I used the comm file1... (4 Replies)
Discussion started by: RianTan