10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two files:
file 1:
hello.com neo.com,japan.com,example.com
news.net xyz.com, telecom.net, highlands.net, software.com
example2.com earth.net, abc.gov.uk
file 2:
neo.com
example.com
abc.gov.uk
file 2 are the search keys to search in file 1 if any of the search... (7 Replies)
Discussion started by: csim_mohan
7 Replies
2. Shell Programming and Scripting
Hi Folks,
I have a file like:
mainfile.txt:
-------------
file1 abc def xyz
file1 aaa pqr xyz
file2 lmn ghi xyz
file2 bbb tuv xyz
I need output having two files file1 and file2.
file1:
------
Name State Country
abc def xyz
aaa pqr xyz
file2: (3 Replies)
Discussion started by: tanmay.gemini
3 Replies
3. Shell Programming and Scripting
Hi,
I am new to shell scripting,and i was planning to write a script that will FTP files to destination folder.
I was planning that All configuration should be done through a properties files. and finally the output should be
Files are transferred
I have developed a properties file named... (4 Replies)
Discussion started by: rahul125
4 Replies
4. Shell Programming and Scripting
Hi,
I am new to shell scripting,and i was planning to write a script that will move files which have a datetime >= currentdate-N from a source to destination folder. All configuration should be done through a properties files.
Here the value of N should be taken as 10 days(modification... (6 Replies)
Discussion started by: rahul125
6 Replies
5. Shell Programming and Scripting
Hi
I need to write a script which will search for some text in some CSV files and will delete the record/line with the matching text and will insert that record/line into some other file.
Can you please help?
Here is what I want: -
Contents of MainFile.csv: -
1,2,3,Loan,4,5,6... (3 Replies)
Discussion started by: kapilk
3 Replies
6. Shell Programming and Scripting
Hi
I need a cofiguration file for my perl script...
Suppose my perl script for counting total number of user is
#!/usr/bin/perl -w
$total_users;
#To get how many users currently logged in###########
$total_users=`who | wc -l`;
print... (2 Replies)
Discussion started by: Harikrishna
2 Replies
7. Solaris
Hi all-interesting forum.
I am new with Solaris and i would like your advice on this:
I am using a solaris 8 (ultra sparc IIi) workstation at my work,and i am trying to built another one exactly the same-so if the first one fails to have another one as backup.
The problem is that the guy who... (1 Reply)
Discussion started by: ioa_pol
1 Replies
8. Shell Programming and Scripting
i am trying to use a configuration file to FTP some files.. i am not sure how to call or use a configuration file in script.
can anybody help (5 Replies)
Discussion started by: iamcool
5 Replies
9. UNIX for Dummies Questions & Answers
I am restoring data off of a backup tape onto a server I have.
The data is coming from an old server I used to have, different IP and different Name.
I want to transfer ALL the data from the tape, but yet not have any of my unix network configurations or name settings (on the server itself) to... (3 Replies)
Discussion started by: HandleX
3 Replies
10. Shell Programming and Scripting
Hi ,
a:) i have configuration file with pattren
<Range start no>,<Range end no>,<type of records to be extracted from the data file>,<name of the file to store output>
eg:
myfile.confg
9899000000,9899999999,DATA,b.dat
9899000000,9899999999,SMS,a.dat
b:) Stucture of my data file is... (3 Replies)
Discussion started by: suparnbector
3 Replies