10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi....I'm having 2 xml files, one is having some special characters and another is a clean xml file does not have any special characters. Now I need one audit kind of file which will show me only from which line the special characters have been removed and the special characters.
Can you please... (1 Reply)
Discussion started by: Krishanu Saha
1 Replies
2. Shell Programming and Scripting
Hi unix geeks out there,
I have a file that contains the output of a command in text format
------------------------------------------------------------------------ r201535 | kashyapgiri@gmail.com| 2012-06-21 05:00:01 +0530 (Thu, 21 Jun 2012) | 1 line Changed paths: M... (8 Replies)
Discussion started by: Kashyap
8 Replies
3. Shell Programming and Scripting
I am running a openssl command like this:
openssl s_client -showcerts -connect $fqdn:$portand the result is some ridiculous amount of stuff but i only want to cut out part of the certificate chain. How do i do that? (2 Replies)
Discussion started by: shade917
2 Replies
4. Shell Programming and Scripting
Hi All,
Actually we want to know the command need to use if the difference between two files are null, then it should not send as mail. Oterwise it should send as mail alert.
Below for your reference,
# Email the spoolfile.
diff free_sp_new.log free_sp_old.log
if output of above... (1 Reply)
Discussion started by: thanvir.akram
1 Replies
5. 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
6. UNIX for Dummies Questions & Answers
What is the differene between sh and ksh,
if i want to write function
count() {
ls | wc -l
}
How to use in both shell means
how to run this function in both the shell.
correct me if my question is wrong (2 Replies)
Discussion started by: hi2_t
2 Replies
7. Programming
Hello All,
I have a an application written in C and runing on Red Hat Linux.
In my code I have written a command that is fired on the linux shell by using system() function call.
Now I need to read the output of this command in my c program and assign it to a variable.
Can anyone... (1 Reply)
Discussion started by: shamik
1 Replies
8. Shell Programming and Scripting
HI :)
I have a script with an encrypted file that will output the decrypted content. my question is, instead of printing it, how can I pass it to the python parser?
I kept trying lots of ways.. no luck :(
#!/bin/sh
openssl enc -aes-256-cfb8 -a -d -pass pass:mypass<<EOF... (2 Replies)
Discussion started by: skeeter144
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a column in 2 different files which i want to compare, and output the results to a different file. The columns are in different positions in those 2 files.
File 1 the column is in position 10-15
File 2 the column is in position 15-20
Please advise
Thanks (1 Reply)
Discussion started by: samit_9999
1 Replies
10. Shell Programming and Scripting
suppose u have 2 files ; where both files have one line in common.
say one file like that
>gi|62859953|ref|NP_001017322.1| plexin B2
MKEKERTKAITEIYLTRLLSVKGTLQQFVDNFFQSVLNSNQVVPPAVKYFFDFLDEQAEKYEIKDEDTVHIWKTNSLSLR... (13 Replies)
Discussion started by: cdfd123
13 Replies