Skip to content
sharadchhetri
  • Home
  • Linux Commands
  • ResourcesExpand
    • Learn Linux
  • My Projects & WorkExpand
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • AboutExpand
    • Privacy Policy
    • Contact
sharadchhetri

expect

expect bash
Linux

How to Use Expect In Bash Script

BySharad Chhetri December 7, 2010December 10, 2024

In this bash script we will use expect scripting. Expect is known primarily as an indispensable application for system administrators. We use expect generally in case where input from user is required , for eg. ssh, ftp, telnet, sudo etc. Given below is sample bash script which will first ssh the remote host and then…

Read More How to Use Expect In Bash ScriptContinue

Tags

apache automation awk aws bash script cat CentOS centos 7 debian devops docker freebsd ftp ghost git grep hostname jenkins kvm linux linux command MariaDB Server mysql Nagios nginx Octopress owncloud Owncloud 6 php postfix postgres python Red Hat rpm sed ssh swap troubleshooting ubuntu user management vagrant varnish virtualbox vsftp wordpress

Recent Comments

  • Sharad Chhetri on Keep logs of user after sudo su – : Secondary Logging
  • ruhi on Keep logs of user after sudo su – : Secondary Logging
  • Sharad Chhetri on Keep logs of user after sudo su – : Secondary Logging
  • ruhi on Keep logs of user after sudo su – : Secondary Logging
  • Sharad Chhetri on Keep logs of user after sudo su – : Secondary Logging
  • Ruhi on Keep logs of user after sudo su – : Secondary Logging
  • Sharad Chhetri on Nagios Plugin : check ssl certificate expiry date
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • About Me
  • Contact
  • Learn Linux
  • My Wordpress plugins
  • Privacy Policy
  • Search

© 2025 sharadchhetri.com

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My Projects & Work
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • About
    • Privacy Policy
    • Contact