Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by david6789

  1. david6789

    script help please

    rlogin is the normal way we move from server to server. There is no password involved (except when you first login to the terminal). I want to see whos on all the servers (all 5 of them). Usually our scripts are in csh.
  2. david6789

    script help please

    I tried ssh but it did not work (I get port errors) I assume i need to use rlogin. I tried: rlogin user@$Alpha but it requested a password (which we normally do not use) suggestion?
  3. david6789

    script help please

    nope it just sits there, nothing happens. I have to ctrl-c to get out. What would be an easier shell to use instead of csh? I want to: rlogin Alpha who rlogin Beta who rlogin Charlie who And show the results in a file.
  4. david6789

    script help please

    I am on a solaris system if that helps. The normal login process is: rlogin Alpha There is no password or usernames; just the server name. I personally would rather use csh but I am at a lost either way.
  5. david6789

    script help please

    I want to make a simple script that will log onto all 5 servers and do "who" so I can see whos on and be able to "sendnote". Here is my script: #!/bin/sh while read ServerName do ssh user@$ServerName "who" > $ServerName.txt done < inputer.txt It just hangs there and then when I press enter...

Part and Inventory Search

Back
Top