Curso Unix & Shell Scripting Foundation

  • Linux & Suse

Curso Unix & Shell Scripting Foundation

32 horas
Visão Geral

Este Curso Unix & Shell Scripting Foundation de 32 horas,fornece uma introdução abrangente a toda a gama de comandos e utilitários do usuário UNIX. Os alunos desenvolverão programação shell, habilidades de edição de vi, proficiência em sed e awk.

Objetivo

Os scripts Unix Shell fornecem uma maneira de automatizar grupos de comandos comumente executados - mas os scripts shell podem fazer muito mais do que isso. Embora muitas tarefas simples sejam automatizadas com pequenos scripts, scripts grandes com centenas de linhas são muito comuns. Esses scripts maiores são escritos por administradores de sistema, administradores de banco de dados, testadores, programadores de utilitários e outros para criar utilitários que são amplamente compostos por comandos UNIX poderosos, como find, sed, awk e centenas de outros.

Publico Alvo
  • Unix e Linux, alunos que são novos no ambiente Unix ou Linux
Informações Gerais
  • Carga horaria, 32h
  • Se noturno este curso e ministrado de segunda-feira a sexta-feira das 19h às 23h, total de 8 noites,
  • Se aos sábados este curso e ministrado das 09h às 18h, total de 4 sábados,
  • Se integral este curso e ministrado das 09h às 18h, total de 4 dias,

Formato de entrega:

  1. On-line ao vivo na presença de um instrutor via Plataforma de Vídeo conferência Microsoft Teams 
Materiais
Português/Inglês
Conteúdo Programatico

Getting Started

  1. What is UNIX?
  2. A Brief History of UNIX
  3. Logging In
  4. Logging Out
  5. Try a Few More Commands
  6. Changing Your Password
  7. Using On-line Manuals

The File System – Files

  1. What is a File?
  2. The ls Command
  3. The cat Command
  4. The more and pg Commands
  5. The head and tail Commands
  6. The cp Command
  7. The mv Command
  8. The rm Command
  9. File names

The File System – Directories

  1. Hierarchical File System
  2. Pathnames
  3. The pwd Command – Print Working Directory
  4. The cd Command – Change Directory
  5. The mkdir Command – Make Directories
  6. The rmdir Command – Remove Directories
  7. The cp Command (again) – Copy Files
  8. Two useful directory names – . and ..

Editing With vi

  1. What is vi?
  2. The vi Buffering Process
  3. Command Mode and Insert Mode
  4. Modes Diagram
  5. Getting Started
  6. Moving the Cursor Around
  7. Inserting Text
  8. Deleting a Character or Line
  9. Undo Last Command
  10. Opening a New Line
  11. Save Your Work or Abort the Session
  12. Review of vi Commands

More Editing With vi

  1. Scrolling the Buffer
  2. Cursor Motion Commands – w, W, b, B, e, E
  3. Cursor Motion Commands – $, ^, 0, G
  4. Cursor Motion Commands – f, t, F, T
  5. Delete Operator – d
  6. Change Operator – c
  7. Yank Operator – y
  8. Put Commands – p, P
  9. Searching For a Pattern – /, n, N, ?
  10. The join Command
  11. The file Command – :f
  12. Edit file Command – :e
  13. Cut and Paste Between Files
  14. Read file Command – :r
  15. Set options Command
  16. Set options Command – .exrc file

Personal Utilities

  1. The date Utility
  2. The bc Utility
  3. The expr Utility
  4. The cal Utility
  5. The news Utility
  6. The id Utility
  7. The uname Utility
  8. The finger Utility
  9. The script Utility
  10. The clear Utility
  11. Appendix: The at and crontab Utilities

Text Handling Utilities

  1. The grep Utility
  2. The tr Utility
  3. The cut Utility
  4. The paste Utility
  5. The sort Utility
  6. The wc Utility
  7. The diff Utility
  8. The lp Utility

File System Security

  1. File Permissions
  2. The chmod Utility
  3. Directory Permissions
  4. The umask Command

File System Management Utilities

  1. The find Utility
  2. The df Utility
  3. The du Utility
  4. Compressing Files
  5. The ln Utility
  6. The ulimit Utility
  7. The tar Utility

Communication Utilities

  1. The write and talk Utilities
  2. The mesg Utility
  3. Mail Overview
  4. The mail Utility
  5. The mailx Utility

Using the Shell

  1. What is a Shell?
  2. Which Shell?
  3. The Command Line
  4. Standard Input, Standard Output and Standard Error
  5. Using Default Standard In and Standard Output
  6. I/O Redirection
  7. Appending Output of a File
  8. Pipes
  9. The tee Utility

Filename Generation

  1. Filename Generation
  2. The ? special Character
  3. The * special Character
  4. The [ ] special Characters
  5. The ! special Characters

UNIX Processes

  1. What is a Process?
  2. Process Structure
  3. The ps Utility
  4. Options to the ps Utility
  5. Background Commands
  6. Killing Background Processes
  7. Redirecting the Standard Error

Introduction to sed

  1. About sed
  2. Why Use sed?
  3. Invoking sed
  4. How sed Works
  5. Using sed
  6. sed Addressing
  7. sed Functions

Introduction to awk

  1. How awk Programs Work
  2. Running awk Programs

Awk Patterns

  1. Summary of Patterns
  2. BEGIN and END
  3. Expressions
  4. String-Matching Patterns
  5. Extended REs in awk
  6. Range Patterns

Shell Programming Concepts

  1. What is a Shell?
  2. What is a Shell Script?
  3. Why Use Shell Scripts?

Flow Control

  1. The Exit Status of Commands
  2. Command Line Examples
  3. The test Command
  4. The if-then-else Construct
  5. The elif Construct
  6. A loop Example

Variables

  1. User Created Variables
  2. The read Command
  3. The Shell Environment
  4. The export Command
  5. Sub-shells
  6. Command Substitution
  7. Quoting Mechanisms
  8. Assigning Variables – Summary

Special Variables

  1. Command Line Arguments
  2. $- Number of Arguments
  3. The shift Command
  4. $* – All Arguments
  5. $$ – PID of Shell

More Flow Control

  1. The for Loop
  2. The while Loop
  3. The Case Construct

Advanced Shell Programming

  1. Filename Generation
  2. Parameters
  3. Named Parameters
  4. Positional Parameters
  5. Special Parameters
  6. Parameter Substitution
  7. Here Documents
  8. Shell Commands
  9. Command List Separators
  10. Control Flow – Conditionals
  11. The case Construct
  12. Control Flow – Loops
  13. The trap Command

Appendix: Korn shell features

  1. Viewing your Command History
  2. Editing and Re-executing Commands
  3. Aliases
TENHO INTERESSE

Cursos Relacionados

Curso Linux Bash Shell Programming

32 horas

Curso Linux Suse SLE200 Transitioning Enterprise 15

8 Horas

Curso Enterprise Server Deployment SLE211v15

16 horas

Curso SUSE Enterprise Server 15 Administration SLE201v15

32 Horas

Curso Linux Suse Enterprise Server 15 Adm Advanced SLE301v15

32 horas

Curso Linux Suse SLES for SAP Applications HA Deployment and Configuration

24 Horas

Curso Suse Linux Protegendo Enterprise Server 12 SLE341

24 Horas