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 All,
I have two files. File1 and File2.
Want to create another file with all the records of File1 those are not present in File2.
Please guide.
Thanks in advanced.
Anupam (3 Replies)
Discussion started by: Anupam_Halder
3 Replies
3. Shell Programming and Scripting
Hi All,
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Thanks,
Pranav (1 Reply)
Discussion started by: Pranav Bhasker
1 Replies
4. Shell Programming and Scripting
Hi,
I want to compare two files based on the data in their first column. Both the files are not equal in their number of columns and number of entries or rows.
The entries (only the first column) of the file1 should be compared with the entries (only the first column) of the file2. If the... (3 Replies)
Discussion started by: begin_shell
3 Replies
5. UNIX for Dummies Questions & Answers
hi,
can somebody tell me how I can create a text file with content from Bash script.
The file should be prefilled with information such as current date and time then leaving the user ability to input more data right below those prefilled content.
thank you :) (0 Replies)
Discussion started by: s3270226
0 Replies
6. UNIX for Dummies Questions & Answers
I have two files, file1.txt and file2.txt
I want to find UNcommon between two files
with
while read line
do
grep -v $line file2.txt
done<file1.txt
I get the reverse grep for every line it reads (7 Replies)
Discussion started by: FelipeAd
7 Replies
7. Shell Programming and Scripting
Hello,
I have the following problem:
There are two csv files
csv-file #1:
aaa1, aaa2, ... aaan
aaa1, bbb2, ... bbbn
aaa1, ccc2, ... cccn
bbb1, bbb2, ... bbbn
...
zzz1, zzz2, ... zzzn
csv-file #2:
aaa1, matchvalue1
ccc1, matchvalue2 (7 Replies)
Discussion started by: ghl10000
7 Replies
8. Shell Programming and Scripting
hi
i have a set of files , i need to compare one file content with other file content,
i am using cmp -s abc.1 def.2 , but it is not giving theproper o/p even if the content is different.Please help
thanks
Satya (1 Reply)
Discussion started by: Satyak
1 Replies
9. 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
4 Replies
10. Shell Programming and Scripting
Hi all
I need specific fields from a file to be tabulated into a single file.
I have a file with the following :-
FIELD1 InfoA FIELD2 InfoB
FILED3 InfoC
FIELD1 InfoD FIELD2 InfoE
FIELD3 InfoF
The output... (2 Replies)
Discussion started by: jhansrod
2 Replies