Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

How to create a script to automatic telnet to a host? (See related posts)

(sleep 3; echo username; sleep 3; echo password; sleep 5; echo "ls -l"; sleep 3; echo "exit") | telnet hostname

You need to create an account or log in to post comments to this site.


Click here to browse all 5146 code snippets

Related Posts