Sample Expect Script

Expect is a programming language for automating systems which expose interactive text terminal such as telnet, ssh, ftp, scp etc,. It is extension to Tcl language. It is created by Don Libes. In this post I will share you sample expect script, which connects list of servers over ssh, executes command and prints it out […]

Read More →

Sending an Email Using Shell

In this post I will introduce you about sending an email by using terminal, as sending an email via graphical MTA can be cumbersome.:) To  send an email on shell terminal, I will use ssmtp which sends mails local computer to configured mail hub. It is not  mail server such as postfix. Ssmtp package exists […]

Read More →