Automation Using Bash & Expect

Unix    |    Intermediate
  • 10 videos | 58m 21s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 698 users Rating 4.5 of 698 users (698)
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 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
  • 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
    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
    Create scripts to automate processes and create backups on local and remote systems

IN THIS COURSE

  • 5m 25s
    Find out how to create a script that can automate inputs to another command or script using expect. FREE ACCESS
  • 7m 19s
    To find out how to use the expect interact command to prompt the user for input in an automated script, consult a search engine or programming forum. FREE ACCESS
  • Locked
    3.  Creating Expect Scripts with Autoexpect
    7m 41s
    Find out how to work with Expect to create scripts and control advanced features. FREE ACCESS
  • Locked
    4.  Automating FTP in a Script
    4m 34s
    In this video, you will learn how to automate an FTP session to transfer files. FREE ACCESS
  • Locked
    5.  Automating SCP File Transfers in a Script
    5m 16s
    In this video, you will automate file transfers over SCP using an expect script. FREE ACCESS
  • Locked
    6.  Performing File and Directory Backups with rsync
    5m 56s
    In this video, you will learn how to back up files or directories using rsync on a local system using an expect script. FREE ACCESS
  • Locked
    7.  Using rsync over SSH for Secure Remote Backups
    3m 56s
    In this video, learn how to use rsync and ssh to transfer or back up files and directories between remote systems. FREE ACCESS
  • Locked
    8.  Comparing Bash to Ksh
    5m 16s
    Find out how to work with the Korn shell, and identify some of its differences from Bash. FREE ACCESS
  • Locked
    9.  Comparing Bash to Csh
    5m 22s
    In this video, you will learn how to use the C shell and identify the differences between the two shell environments. FREE ACCESS
  • Locked
    10.  Exercise: Automating with Bash
    7m 36s
    In this video, you will create scripts to automate processes and create backups on local and remote systems. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.0 of 1 users Rating 4.0 of 1 users (1)
Channel PowerShell
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 294 users Rating 4.5 of 294 users (294)
Rating 4.6 of 262 users Rating 4.6 of 262 users (262)
Rating 4.5 of 714 users Rating 4.5 of 714 users (714)