10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
We are using one unix script which is using sftp command and connect to remote server and get some file form remote server.
some time after running this script we are not getting any file .
Could you please tell us detailed validation that is there any problem with... (6 Replies)
Discussion started by: maheshkumar93@g
6 Replies
2. Shell Programming and Scripting
Hello,
I have text files to append and am able to do with cat.
cat file1 file2 >file3
and file3 works fine in UNIX (checked with vi and it looks fine) but when i open the same file in windows I see 2nd file appended as a single-line. In other words, all the lines of 2nd file appended to... (2 Replies)
Discussion started by: magnus29
2 Replies
3. IP Networking
So, is there way of automating this ?
My ultimate goal is to run some cmd script in windows and it should connect to a remote unix host and run a script x.sh located on the remote unix host.
I was wanting to achieve this by using WinSCP and Putty only. If possible let me know how and if not... (25 Replies)
Discussion started by: mohtashims
25 Replies
4. Shell Programming and Scripting
Hi,
Want to append the text to a new file,
echo "set `sqlplus -S abc/xyz123@localdb<<EOS" >> chk_test_append.sh
echo "EOS`" >> chk_test_append.shbut getting the below error :
what wrong is written ?
With Regards (4 Replies)
Discussion started by: milink
4 Replies
5. Shell Programming and Scripting
Hi All,
I have a file that sits on 4 diffrent servers, those servers are diffrent region based and they are authentication protected and that file has a diff port numbers, so when run the script it must ask my login details,region of server and port no for that file once it took from me it... (1 Reply)
Discussion started by: tmarjuna
1 Replies
6. UNIX for Advanced & Expert Users
Hi All,
I have one file that sits on 4 diffrent servers, those servers are diffrent region based and they are authentication protected and that file has a diff port numbers, so when run the script it must ask my login details,region of server and port no for that file once it took from me... (1 Reply)
Discussion started by: tmarjuna
1 Replies
7. Shell Programming and Scripting
Hello,
I have about 90 servers that I need to update snmp configs. I am trying to write a script that will echo 4 new lines of text into the snmpd.conf file. I have tested it locally and it works when the server ssh into itself but when I try to run the script to ssh into a remote server it logs... (5 Replies)
Discussion started by: mr_dthomas
5 Replies
8. Shell Programming and Scripting
All, I need to write an unix shell script which inserts some records into a file located in remote servers.
* Get the input from the user and insert according the first row. It should be in ascending order.
123451,XA,ABA
123452,XB,ABB
123453,XC,ABC
123455,XE,ABE
123456,XF,ABF
123458,XG,ABG... (2 Replies)
Discussion started by: techychap
2 Replies
9. Shell Programming and Scripting
Hi,
I have successfully copied a file from one server to another using following command.
user1@server1# scp test.jsp user2@server2:/home/
Now i want to delete that copied file(test.jsp) from "server2" by running some command from server1.
Please help... (2 Replies)
Discussion started by: SanketJOSHI
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have successfully copied a file from one server to another using following command.
user1@server1# scp test.jsp user2@server2:/home/
Now i want to delete that copied file(test.jsp) from "server2" by running some command from server1.
Please help... (1 Reply)
Discussion started by: SanketJOSHI
1 Replies