user121560 Asked: 2012-05-19 07:46:48 +0800 CST Sending content of a file in Expect 5 How Can I send the content of a file in Expect? Do I have to use cat command in a way? if yes how? lets say my file is called 1.txt. example: expect "Enter command to send:" {send "???? \r"} ???? --> content of the file 1.txt. linux unix expect