10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Folks,
I have a requirement of file management on different servers.
Source Server is SERVER-A.
Two servers will fetch files from SERVER-A: SERVER1 and SERVER2.
4th SERVER is SERVER-B, It will fetch files from SERVER1. If SERVER1 goes DOWN, SERVER-B will fetch pending files from... (2 Replies)
Discussion started by: Raza Ali
2 Replies
2. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
3. Shell Programming and Scripting
Hello there,
I have a files f1.html, f2.html.
I have a final file called final.html which is something like the below snippet
<!DOCTYPE html>
<html>
<body>
<h1 align="center">aaaaa Report</h1>
<pppp><p><b>pppp Repository</b></p>
</pppp>
<qqqq><p><b>qqqq Repository </b></p>... (4 Replies)
Discussion started by: H squared
4 Replies
4. UNIX for Dummies Questions & Answers
Hi ALL,
Requirement:Connect server2 from server1 and get the list of files generate on currentdate .
Basically i need to check the files in server1 and server2 on currrent date is equal on each 1 hr frequency.
Can anyone help me on this.
Thanks in advance
Hari (2 Replies)
Discussion started by: psthariharan
2 Replies
5. Shell Programming and Scripting
hi,
i have two servers in unix. say server1 and server2. my shell script is running on server1.
In server2, there is a directory (/etc/data/) which contains some text files.
I want to write the list of filenames in server2 in a file and display the file in server1.
In short, i want to... (3 Replies)
Discussion started by: Little
3 Replies
6. Shell Programming and Scripting
Hi,
I am facing issue while reading data from a file in UNIX. my requirement is to compare two files and for the text pattern matching in the 1st file, replace the contents in second file by the contents of first file from start to the end and write the contents to thrid file.
i am able to... (2 Replies)
Discussion started by: seeki
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I want to write a script that will write a couple of lines into a file, including the output of another file... Can anyone help?
Scenario
Day 1
File 1 Contents -->
Japan
File 2 contents (to be wriiten by the script) -->
Name: Sameer
Country: Japan
Day 1
File 1... (0 Replies)
Discussion started by: carlos_anubis
0 Replies
8. UNIX for Dummies Questions & Answers
Give shell script....which takes two file names as input and compares the contents, is both are same delete second file's contents.....
I try with "diff"...... but confusion how to use "diff" with if ---else
Thanking you (5 Replies)
Discussion started by: krishnampkkm
5 Replies
9. Shell Programming and Scripting
Hi ,
i have three server
server1 -> Unix OS ,ftp enable IP ->10.8.219.190
server 2 -> Unix OS ,ftp enable
NIC 1 IP ->10.8.219.191 ,NIC2 ->192.168.0.5
server3 -> windows OS ,ftp enable NIC1 ->192.168.0.6.
hence server 1 and server 3 can not communicate ,but server 2 can... (1 Reply)
Discussion started by: suchintkotia
1 Replies
10. UNIX for Dummies Questions & Answers
Hi ,
I want to append the contents of many files (not knowing exactly how many files, i will get) in to one target file on a day today basis.
The file names are similar except last value (which is sequence number)
eg) file1_20061026_1
file1_20061026_2 etc.,
How can i read all the files... (2 Replies)
Discussion started by: gopskrish
2 Replies