10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this code
awk 'NR==FNR{a=$1;next} a' file1 file2
which does what I need it to do, but for only two files. I want to make it so that I can have multiple files (for example 30) and the code will return only the items that are in every single one of those files and ignore the ones... (7 Replies)
Discussion started by: castrojc
7 Replies
2. 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
6 Replies
3. Shell Programming and Scripting
Hi, all:
I've got two folders, say, "folder1" and "folder2".
Under each, there are thousands of files.
It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command.
However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies
4. Linux
I need to encrypt a ".txt" file with password settings and it should decrypt the file automatoically when end user types correct password.
Can some one help me on this.
Thank you (3 Replies)
Discussion started by: rlmadhav
3 Replies
5. Shell Programming and Scripting
Hiiiii friends
I have 2 files which contains huge data & few lines of it are as shown below
File1: b.dat(which has 21 columns)
SSR 1976 8 12 13 10 44.00 39.0700 70.7800 7.0 0 0.00 0 2.78 0.00 0.00 0 0.00 2.78 0 NULL
ISC 1976 8 12 22 32 37.39 36.2942 70.7338... (6 Replies)
Discussion started by: reva
6 Replies
6. Shell Programming and Scripting
I have searched about 30 threads, a load of Google pages and cannot find what I am looking for. I have some of the parts but not the whole. I cannot seem to get the puzzle fit together.
I have three folders, two of which contain different versions of multiple files, dist/file1.php dist/file2.php... (4 Replies)
Discussion started by: bkeep
4 Replies
7. UNIX for Dummies Questions & Answers
Good day all.
I want to unzip multiple files in a directory. Suppose there are two files:
test.txt.zip and test1.txt.zip
Using this command:
unzip -o -P test*.zip
results in the unzipping of the first file not second.
It gives this error:
Archive: test.txt.zip
caution: filename not... (2 Replies)
Discussion started by: er_ashu
2 Replies
8. UNIX for Dummies Questions & Answers
Hi lads me again
trying to get a wee bit fancy with my scripting
anyway it dosn't seem to want to run (strange as it may seem)
I encrypted a file renamed it and wrote another file that unencrypts it
(it contains passwords) (and b4 anyone says I am doing this for my own reasons)
In a... (3 Replies)
Discussion started by: w33man
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
Is there a way of executing encrypted files? I have encrpyted files using vi and crypt, but when I execute the encrypted file, it takes the contents literally (special characters, junk - encrpyted format).
Kind Regards,
Kawah (4 Replies)
Discussion started by: Kawah Cheung
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Is there a way of executing encrypted files? I have encrpyted files using vi and crypt, but when I execute the encrypted file, it takes the contents literally (special characters, junk - encrpyted format).
Kind Regards,
Kawah (1 Reply)
Discussion started by: Kawah Cheung
1 Replies