10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have multi line input(var1) and reference(var2) variables.
How to capture lines not present in var2 but present in var1?
How to capture lines present var2 but not in var1?
# configuration from server
# required configuration... (6 Replies)
Discussion started by: kchinnam
2. Shell Programming and Scripting
My requirement is I have a zip file with name say eg: test_ABC_UH_ccde2a_awdeaea_20150422.zip
within that there are subdirectories on each directory we again have .zip files and in that we have files like mama20150422.gz and so on.
Iam in need of a bash script so that it unzips... (0 Replies)
Discussion started by: Ravi Kishore
3. Shell Programming and Scripting
I have 2 files , i need compare both files field by field, and in the fourth field some value will be interchaged and some value will be **.
ex: file1 john|0.0|4|**:25;JP:50;UY:25
file2 john|0.0|4|JP:50;**:25;UY:25 (4 Replies)
Discussion started by: veeruasu
4. Shell Programming and Scripting
My requirement is,there is a directory location like:
In this location there can be different flat files that are generated in a single day with same header and the data will be different, differentiated by timestamp, so i need to verify how many files are generated... (10 Replies)
Discussion started by: srikanth_sagi
5. Shell Programming and Scripting
I want to execute a program which is present on another server.
i want to use SFTP in perl, is it possible? how ?
thanks. (1 Reply)
Discussion started by: anandgodse
6. Shell Programming and Scripting
I need a script/command to list out all the files in current path and also the files in folder and subfolders.
Ex: My files are like below
$ ls -lrt
-rw-r--r-- 1 abc users 419 May 25 10:27 abcd.xml
drwxr-xr-x 3 abc users 4096 May 25 10:28 TEST
Under TEST, there are... (2 Replies)
Discussion started by: divya bandipotu
7. Shell Programming and Scripting
I am stuck with a problem and i want your help, what i want to do is
I have a directory name dircome
and there are 6 files present in this directory, the name of the files are d1,d2,d3,d4,d5,d6.
The Perl script print the files name, means the output should be
d6 (9 Replies)
Discussion started by: parthmittal2007
8. Shell Programming and Scripting
i was trying to print the links present in a file using SED.
sed -n 's/.*\(\(http\|ftp\|https\):\/\/\(*\).\(net\|html\)\).*/\1/gp' example
content of example file is
The URL for my site is: http://mysite.com/mydoc.html. You
might also enjoy ftp://yoursite.com/index.net for a good... (5 Replies)
Discussion started by: Kesavan
9. UNIX for Dummies Questions & Answers
I have an input file containing a list of numbers like:
And another input file containing results created on the basis of the above input:
G6PT_HUMAN U01120.CDS.1 -1.9450 3.1706... (1 Reply)
Discussion started by: Banni
10. Shell Programming and Scripting
Suppose u have two files
>hi|23433|sp|he is RAJ<space>>hi|23333|df|He is HUMAN<space>>hi|222|gi|howru|just
>hi|25559|gs|heisANUJ<space>>hi|2232|sp|he is fool
so output wil be ...if the list contain HUMAN only take it... (1 Reply)
Discussion started by: cdfd123