expect

Script executor that interacts with other programs that require user input. More information: <https://manned.org/expect>.

Install

All systems
curl cmd.cat/expect.sh
Debian Debian
apt-get install expect
Ubuntu
apt-get install expect
Alpine
apk add expect
Arch Arch Linux
pacman -S expect
image/svg+xml Kali Linux
apt-get install expect
CentOS
yum install expect
Fedora
dnf install expect
Windows (WSL2)
sudo apt-get update sudo apt-get install expect
OS X
brew install expect
Raspbian
apt-get install expect
Docker
docker run cmd.cat/expect expect powered by Commando

Script executor that interacts with other programs that require user input. More information: <https://manned.org/expect>.

  • Execute an expect script from a file:
    expect path/to/file
  • Execute a specified expect script:
    expect -c "commands"
  • Enter an interactive REPL (use `exit` or Ctrl + D to exit):
    expect -i

© tl;dr; authors and contributors