10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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. Shell Programming and Scripting
Shell script logic
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
3. Shell Programming and Scripting
I have a files f1.html, f2.html.
I have a final file called final.html which is something like the below snippet
<h1 align="center">aaaaa Report</h1>
<qqqq><p><b>qqqq Repository </b></p>... (4 Replies)
Discussion started by: H squared
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
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
6. Shell Programming and Scripting
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
7. UNIX for Dummies Questions & Answers
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?
File 1 Contents -->
File 2 contents (to be wriiten by the script) -->
File 1... (0 Replies)
Discussion started by: carlos_anubis
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
9. Shell Programming and Scripting
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
10. UNIX for Dummies Questions & Answers
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)
How can i read all the files... (2 Replies)
Discussion started by: gopskrish