9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have
FILE 1 (This file has all master columns/headers)
A|B|C|D|E|F|G|H|STATUS
FILE 2
A|C|F|I|OFF_STATUS
3|4|5|4|Y
6|7|8|5|Y
Below command give me all headers of FILE 2 into array2.txt file
paste <(head -1 FILE2.txt | tr '|' '\n')>array2.txt
So I would like to compare... (2 Replies)
Discussion started by: jmadhams
2 Replies
2. UNIX for Beginners Questions & Answers
Hi,
I have 2 files abc.txt and bdc.txt.
I am using
$diff -y abc.txt bcd.txt -- compared the files side by side
I would like to write a Shell Script to cmpare the files side by side and print the results( which are not matched) in a side by side format and save the results in another... (10 Replies)
Discussion started by: vasuvv
10 Replies
3. Shell Programming and Scripting
The following works in bash (/bin/bash):
echo "U2FsdGVkX198UexvhHEtfC7iLbT3awAfla77fvSjZQJ0LC4GmDMeLOghPWXpyy6e" | openssl aes-128-cbc -a -d -salt -pass file:<( echo -n "toy" )
Fri Sep 15 15:20:01 PDT 2017
But fails when run in sh (/bin/sh):
echo... (1 Reply)
Discussion started by: SkySmart
1 Replies
4. Shell Programming and Scripting
Can u tell the diff between the
1) $a and ${a}
2)] and ( )
3)" " and ' ' , ` `
4) 'a' , "a", please explain with simple example (1 Reply)
Discussion started by: mrbinoy
1 Replies
5. Shell Programming and Scripting
hi all,
can any one plz tell me that what is the difference between linux shell scripting and unix shell scripting.
is there any difference at all?? if yes that what are the differences and how could it be combatted
thanks in advance (1 Reply)
Discussion started by: nasir_khan
1 Replies
6. Shell Programming and Scripting
Hi
Hope you are having a great weeknd !! I had a question and need your expertise for this :
I have 2 files File1 & File2(of same structure) which I need to compare on some columns. I need to find the values which are there in File2 but not in File 1 and put the Differences in another file... (5 Replies)
Discussion started by: newbie_8398
5 Replies
7. Shell Programming and Scripting
I do not claim to be an expert, but I have done things with scripts that whole teams of folks have said can not be done. Of course they should have said we do not have the intestinal fortitude to git-r-done.
I have been using UNIX actually HPUX since 1992. Unfortunately my old computer died and... (7 Replies)
Discussion started by: awk_sed_hello
7 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I am using korn shell. I want to know what is the difference between hey and echo commands. (1 Reply)
Discussion started by: sivakumar.rj
1 Replies
9. Shell Programming and Scripting
I have a file that contains
/home
/opt
/stand
/var
/usr
/tmp
/opt
/home
I need to print the lines that are unique so the output would be
/stand
/var
/usr
/tmp
and omit any filesystems that are duplicates. I searched the forums but did not find anything, although i searched on... (3 Replies)
Discussion started by: insania
3 Replies