Curso Linux Advanced Shell Programming Tools

  • DevOps | CI | CD | Kubernetes | Web3

Curso Linux Advanced Shell Programming Tools

32 horas
Visão Geral

O curso Linux Advanced Shell Programming Tools foi desenvolvido para dar aos participantes experiência prática no uso de uma variedade de ferramentas Linux para manipular texto e incorporá-lo em scripts de shell Linux.

Exercícios e exemplos são usados ​​ao longo do curso para proporcionar experiência prática com as técnicas abordadas.

Objetivo

Fornecer o conhecimento e as habilidades para fazer uso eficaz de uma ampla gama de ferramentas padrão de programação e desenvolvimento Linux.

Pre-Requisitos

Programadores, desenvolvedores e administradores de sistemas que precisam construir scripts de shell e processar arquivos de texto usando recursos avançados de manipulação de texto.

O curso Linux Advanced Shell Programming Tools pressupõe conhecimento do Sistema Operacional Linux no nível coberto no curso Linux Introduction. Alguma experiência em programação shell no nível coberto em Linux Shell Programming também é necessária.

Materiais
Inglês + Exercícios + Lab Pratico
Conteúdo Programatico

Course Introduction

  1. Administration and Course Materials
  2. Course Structure and Agenda
  3. Delegate and Trainer Introductions

BACKUP AND RESTORE UTILITIES

  1. Backing-up and restoring files
  2. Basic and advanced use of tar
  3. Compression utilities gzip,bzip2,zip and compress
  4. Exercise: Backing up and restoring files using tar
  5. Exercises: Compressing files

BACKGROUND JOB SCHEDULING

  1. Scheduling jobs with the cron command
  2. Scheduling jobs with the at command
  3. Exercises: Running background jobs

COMMANDS FOR COMPARING FILES

  1. Compare files with the cmp command
  2. Compare and format files with pr
  3. Compare files with the comm command
  4. Compare files with the diff and sdiff commands
  5. Compare large files with the bdiff command
  6. Exercises: Identifying file differences

SPLITTING FILES

  1. The fold command
  2. Split files using context and content rules
  3. Exercises: Splitting files

IDENTIFYING AND TRANSLATING CHARACTERS

  1. od - octal dump
  2. Use cat to display non-printing characters
  3. View and format files with nl
  4. The expand and unexpand commands to convert between tab and space characters
  5. The tr command for character translation
  6. Exercises: Translating characters with tr

REGULAR EXPRESSION NOTATION REVIEW

  1. Standard regular expressions
  2. Searching with grep
  3. Metacharacters,positional characters and quantifiers
  4. Extended regular expressions
  5. POSIX character classes
  6. PERL expressions

THE STREAM EDITOR sed

  1. sed command line syntax
  2. sed script files
  3. sed command processing
  4. sed addresses and simple instructions
  5. sed pattern space and hold space
  6. Grouping sed commands
  7. Hold and get functions
  8. Advanced flow control
  9. Write output to temporary files
  10. Exercises: Text processing with sed

FUNDAMENTALS OF AWK

  1. Basic AWK usage
  2. AWK program-files
  3. AWK scripts
  4. AWK variables
  5. Pattern matching with AWK
  6. AWK extended patterns

AWK OPERATORS

  1. AWK AND,OR and range operators
  2. AWK arithmetic operations
  3. AWK output
  4. Formatting output with printf
  5. Exercises: Create awk scripts to extract selected data from a file and generate reports

AWK PROGRAM CONTROL STRUCTURES

  1. The BEGIN and END functions
  2. The AWK if construct
  3. The AWK else if construct
  4. The AWK while construct
  5. Other program control statements
  6. The AWK break,continue and exit statements
  7. User defined functions
  8. Exercises: Create AWK scripts and program-files utilising program control structures

AWK FUNCTIONS

  1. AWK string functions
  2. AWK length,tolower,toupper,index,sub,gsub,match,substr,split,sprintf,system and getline functions
  3. Exercises: Generate AWK scripts and program-files to extract and format data using AWK functions

AWK ARRAYS

  1. AWK associative arrays
  2. Multi-dimensional arrays
  3. Exercises: Create AWK associative arrays to process text files and generate reports

MISCELLANEOUS TOOLS

  1. bc (calculator)
  2. fuser (testing for files in use)
  3. getops (checking options passed to shell scripts)
  4. printf (formatting screen output)
  5. logger (script logging)
  6. xargs (generating arguments for a command)
  7. eval (re-evaluating variables)
  8. Exercises: Using tools within a shell script
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h