Automation Using Bash & Expect
Unix
| Intermediate
- 10 Videos | 58m 21s
- Includes Assessment
- Earns a Badge
Discover process automation for Unix and Linux systems with Bash and Expect shell scripts. See how to create Expect scripts to automate inputs to another command or script; prompt for user input with the interact command; employ autoexpect; automate FTP and SCP sessions to transfer files; and use rsync and SSH for secure local and remote backups of files and directories. Use the Korn shell and the C shell and compare them to Bash.
WHAT YOU WILL LEARN
-
create a script that can automate inputs to another command or script using expectuse the expect interact command to prompt the user for input in an automated scriptwork with autoexpect to create scripts and control advanced features of expectautomate an FTP session to transfer filesautomate file transfers over SCP in an expect script
-
back up files or directories using rsync on a local system via an expect scriptuse rsync and ssh to transfer or back up files and directories between remote systems via an expect scriptwork with the Korn shell and identify some of its differences from Bashuse the C shell and identify the differences between the two shell environmentscreate scripts to automate processes and create backups on local and remote systems
IN THIS COURSE
-
1.Creating an Expect Script5m 25sUP NEXT
-
2.Using Interact for User Input in an Expect Script7m 19s
-
3.Creating Expect Scripts with Autoexpect7m 41s
-
4.Automating FTP in a Script4m 34s
-
5.Automating SCP File Transfers in a Script5m 16s
-
6.Performing File and Directory Backups with rsync5m 56s
-
7.Using rsync over SSH for Secure Remote Backups3m 56s
-
8.Comparing Bash to Ksh5m 16s
-
9.Comparing Bash to Csh5m 22s
-
10.Exercise: Automating with Bash7m 36s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.