In this course, you'll learn how to use expect, rsync, and ssh/scp to create scripts to automate processes, including making local and remote backups and doing file transfers. You'll also learn about the ksh and csh shell environments.
Learning Objectives
User Input Automation
- start the course
- create a script that can automate inputs to another command or script using expect
- use the expect interact command to prompt the user for input in an automated script
- work with autoexpect to create scripts and control advanced features of expect
- automate an FTP session to transfer files
- automate file transfers over SCP in an expect script
Data Transfer
- back up files or directories using rsync on a local system via an expect script
- use rsync and ssh to transfer or back up files and directories between remote systems via an expect script
Other Shells
- work with the Korn shell and identify some of its differences from Bash
- use the C shell and identify the differences between the two shell environments
Practice: Automation with Bash
- create scripts to automate processes and create backups on local and remote systems