Description
In this course, you will :
- teach you (as a complete beginner to Unix / Linux) everything you need to know about various Unix / Linux commands, processes, scripts, and Unix architecture
- covers automation of various Unix processes such as shell script execution and sending and receiving files to and from Unix or Linux servers, so that you can incorporate this into your test automation framework and achieve end-to-end test automation.
Syllabus :
1. Start with UNIX
- Unix Architecture
- Unix Introduction
- what happens when you execute any command or shell script in unix or linux
2. Infrastructure to work with UNIX (for this course)
- Create Unix Instance on Google Cloud for practice
- Connect to Unix server using Putty (a ssh client)
- Connect to Unix server using WinScp (to perform all SFTP operations)
3. How much Unix is required from software testing point of view
- How much Unix is required for software testers?
- Manual VS Automated Unix processes
4. Unix Basics
- VI editor in UNIX / LINUX
- File Types in Unix
- Understanding Unix or Linux directories - Unix File System
- Unix / Linux Directory Commands
- Unix / Linux File Commands
- Other Unix / Linux Commands
- Special characters to be used along with Unix / Linux commands
- Why file permission required in Unix / linux
- Unix File Permissions -Commands
- All About processes in UNIX & Unix Process Commands
- Filter commands in UNIX or LINUX
- Find Command in UNIX or LINUX
- Grep command in UNIX - Search data in file for perticular pattern
- Pipes in UNIX or LINUX - Interprocess Communication
- Read and Write file in Unix Linux - Cat command, redirecting data
- Sort command in Unix or LInux - How to sort file? Various examples
- Uniq Command in unix or linux (Filter commands)
- diff command - compare 2 files in unix or linux line by line
- cmp command in unix or linux - Compare 2 files byte by byte
- Variables in UNIX or LINUX
- All About Shell Script in UNIX
5. Automate Unix Processes - To do end to end automation testing
- Automate the Unix processes
- GitHub Location for code - Unix for testers using Jsch and putty
6. Automate Unix Processes using Putty (By creating .bat file)
- Automation Of Shell Script Execution using Putty (via Plink)
- Automation Of sending file to Unix server using Putty (via pscp)
- Automation Of Receiving file from Unix server using Putty (via pscp)
- Execute batch (.bat file) in java using process Builder
- Execute batch (.bat file) in java using plexus utils
7. Automate Unix Processes using Jsch (JAVA API)
- Various libraries available to automate UNIX testing
- Lets get started using Jsch library (for Unix processes automation using java)
- Authentication in jsch
- Execute any UNIX command via jsch (in automation)
- Send (upload) file to UNIX server via jsch (in automation)
- Send or Upload multiple files to Unix or Linux server using Jsch Java library
- Execute shell script via jsch (in automation)
- Verify if file exist on UNIX server via jsch (in automation)
- Receive (Download) or get file from unix server to local machine using Jsch
- Receive or Download multiple files from unix or linux server using Jsch