0 How to use expect: 2-Minute Linux Tips In this Linux tip, learn how to use expect. It's a tool that allows you to automate interactions with other scripts so that you can run them with a set of predefined answers.