10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends,
i need to prepare a script ( in perl)
i have a file called "demo.exe" in my local unix host.
i have a list of remote hosts in a file "hosts.txt"
now i need to push "demo.exe" file to all the hosts in "hosts.txt" file.
for this i need to prepare a script(in perl, but shell... (5 Replies)
Discussion started by: siva kumar
5 Replies
2. Solaris
i am using solaris 10 and i am able to ping all the hosts but i am not able to traceroute any of them. how to fix this? (9 Replies)
Discussion started by: chidori
9 Replies
3. Solaris
Hi there
I have a strange scenario whereby I am trying to use the -n flag (or < /dev/null) to the input of between two particular hosts which doesn't seem to work, but is fine if between two other hosts
First test (between myhost 1 and 2) -n doesn't return output
test@myhost1% rsh... (1 Reply)
Discussion started by: rethink
1 Replies
4. Shell Programming and Scripting
hi
I have a script to login from a host "A" to a list of hosts in a file and perform some commands inside it...its somethin like this
for i in `cat file`
do
ssh -t $i " command1 ; command2; ..."
done
I wanna save the outputs in a file in the current host "A" i.e from where I am... (3 Replies)
Discussion started by: ningy
3 Replies
5. Shell Programming and Scripting
Hello,
iḿ rather new to writing scripts in UNIX so i thought this would be a good start.
I need to write a script that can login to different hosts in a standalone network. That means there are no connection to Internet etc. I need to collect some data on the hosts, and they have different... (11 Replies)
Discussion started by: topy
11 Replies
6. UNIX for Advanced & Expert Users
Hi all,
Have used ftp to transfer files from remote host to localhost.
I was wondering how can I ftp into remote hosts.
for example from a unix box, connect to an external server and then ftp that file into mainframe ? I would like to avoid pulling it to unix box and then ftping to mainframe.... (1 Reply)
Discussion started by: kodermanna
1 Replies
7. Shell Programming and Scripting
I want to change the following lines in /etc/hosts on FreeBSD:
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
into the following lines
::1 localhost foo.example.com
127.0.0.1 localhost foo.example.com
I have the following script to do... (5 Replies)
Discussion started by: figaro
5 Replies
8. Shell Programming and Scripting
Guys hw ya all doing.by the way wrote a script which is below.
f()
{
for host in hostname1 hostname2; do
{
#host=hostname1
user = 'rocky'
pass = 'rocky'
#ftp to particular server
ftp -v $host
quote USER $user
quote PASS $pass
bin
cd /bin/rocky
mkdir rock
cd /bin/rocky/rock/... (4 Replies)
Discussion started by: coolkid
4 Replies
9. Shell Programming and Scripting
Hi Friends
I am facing one problem, I am not able to use ftp, rlogin , rcp, rsh in a particular server.
when I am trying to ftp certain file from that server it is giving Connection closed by remote host.
Now from other unix box I am not able to rlogin that particular server. as .rhosts... (3 Replies)
Discussion started by: itsjoy2u
3 Replies
10. Solaris
Hi ,
I have a Solaris 9 machine in which I can ftp but telnet/rsh/ssh is not working, although it was working before. I cannot also log in through the console. I get the banner for telnet but it kicks me out.
Any ideas?
rte (2 Replies)
Discussion started by: run_time_error
2 Replies