Azerbaycan Mastering Bash Scripts Eğitimi

  • Eğitim Tipi: Classroom
  • Süre: 4 Gün
  • Seviye: Expert
Bu eğitimi kendi kurumunuzda planlayabilirsiniz. Bize Ulaşın!

This course deals comprehensively with the capabilities of BASH and the utilities commonly used in the development of scripts. The training concentrates on a common approach to BASH on variants of UNIX, and currently covers versions of BASH up to 4.1.

Target Audience:

The course is aimed at programmers and analysts operating in Unix environments using BASH, as well as Unix system and network managers. This course is particularly suitable for those companies, which take a multi-vendor open systems view, and is applicable to all flavours of UNIX including Linux, HP-UX, Solaris, AIX, and so on.

  • Delegates should have a good working knowledge of Linux or UNIX systems, which includes a working knowledge of UNIX commands and utilities. This can be gained by attending our UNIX Fundamentals or Linux Essentials courses
  • Delegates should also have a practical understanding of programming concepts such as variables, and decision-making constructs.

At the end of this course you will be able to:

  • Use all significant features of the BASH language
  • Implement advanced variable and array manipulation
  • Develop shell scripts that contain advanced decision making constructs
  • Use the tracing features to speed the development of shell scripts
  • Implement advanced data stream handling by using process substitution
  • Incorporate functions in script design
  • Integrate BASH scripts with those written using other shells
  • Write reliable, maintainable and efficient shell scripts

Chapter 1: Introduction and Revision

  • Command-line structure
  • Shell interpretation
  • Filename expansion
  • Variable and command expansions
  • Quoting
  • Redirection
  • Here documents
  • Pipes

Chapter 2: Using BASH

  • The Bash story (in brief)
  • Bash personalities
  • Shell options
  • Bash shell options
  • Start-up files
  • Some shell variables
  • Aliases and functions
  • Command-line recall and editing
  • Navigation for the impatient
  • echo and help

Chapter 3: Shell Scripts

  • Command types
  • Creating shell scripts
  • Creating processes
  • The exec command
  • Exit status
  • Using # in shell scripts
  • Running shell scripts
  • BASH_ENV
  • Command groups and sub-shells

Chapter 4: Handling Variables

  • Legal variable names
  • Creating variables
  • The read command
  • Exporting variables
  • Special characters
  • Checking the environment
  • eval

Chapter 5: Parameters and Friends

  • Positional parameters
  • Access to positional parameters
  • $*, $@, and $#
  • Changing positional aparmeters
  • $* versus $@
  • Other special variables

Chapter 6: Behaviour Therapy

  • Sending signals,
  • Receiving signals and the trap command
  • Shell tracing methods
  • Tracing shell expansions
  • DEBUG and ERR traps
  • Dry run of a script
  • The script command
  • Error messages are your friends

Chapter 7: Flow Control

  • Testing commands
  • 'if' statements
  • 'while' and 'until' loops
  • Bourne shell test command
  • Korn shell test command
  • Bourne and Korn syntax compared
  • Numeric tests

Chapter 8: Variable Expansion

  • Extracting a sub-string
  • Deleting a sub-string
  • Editing sub-strings
  • Test and set/exit expansions
  • The colon command

Chapter 9: Lofty Variables

  • Variable attributes
  • Compound assignments
  • Arithmetic conditionals
  • Working with floating-point

Chapter 10: More Loops

  • List processing - 'for' loop
  • Processing positional parameters
  • 'break' and 'continue'
  • Infinite loops
  • The 'select' loop
  • Reading in a loop from a file
  • Reading in a loop from a program (process substitution)

Chapter 11: Sophisticated Tests

  • Statement short-cuts
  • I/O redirection with if-then-fi
  • The 'case' statement
  • case flow control - Bash 4
  • Shell pattern matching
  • Extended pattern operators
  • Locales and character classes

Chapter 12: Using Functions

  • Functions vs. scripts
  • Creating functions
  • Listing and removing functions
  • Function parameters and return values
  • Local and global variables
  • Where to store functions
  • Exported functions
  • Using external function libraries

Chapter 13: Professional Scripts

  • Parsing script options with getopts
  • Handling errors
  • Formatting output - printf
  • Tips for shell programmers: programming for change
  • Tips for shell programmers: programming for performance

Chapter 14: Handling Arrays

  • Arrays: the concepts
  • Bash array syntax
  • Array syntax gotchas
  • Initialising arrays
  • Appending to an array
  • Finding array limits
  • Using read with an array
  • Using mapfile/readarray
  • Associative arrays

Chapter 15: Advanced IO

  • The concepts
  • Using file descriptors
  • Block redirection
  • Named pipes (FIFOs)
  • Process substitution

Chapter 16: Basic sed

  • Running sed
  • Basic regular expressions
  • sed line addressing

Chapter 17: Basic awk

  • The awk programming model
  • awk variables
  • awk opeators
  • Comparing awk with shell constructs

Certification:

This course will assist delegates preparing for the following exams:

  • LPI General Linux I - L101


Eğitimlerle ilgili bilgi almak ve diğer tüm sorularınız için bize ulaşın!

Yakın tarihte açılacak eğitimler

Sınıf eğitimlerimizi Azerbaycan ofislerimizde düzenlemekteyiz. Kurumunuza özel eğitimleri ise, dilediğiniz tarih ve lokasyonda organize edebiliriz.

Classroom / Virtual Classroom
08 yanvar 2025
Baku
4 Gün
Classroom / Virtual Classroom
14 yanvar 2025
İstanbul
4 Gün
Classroom / Virtual Classroom
21 yanvar 2025
İzmir
4 Gün
Classroom / Virtual Classroom
08 yanvar 2025
Bodrum
4 Gün
Classroom / Virtual Classroom
14 yanvar 2025
Antalya
4 Gün
Classroom / Virtual Classroom
11 fevral 2025
Kapadokya
4 Gün
Classroom / Virtual Classroom
21 yanvar 2025
Bursa
4 Gün
Classroom / Virtual Classroom
21 fevral 2025
Ankara
4 Gün
Mastering Bash Scripts Eğitimi Azerbaycan

Kardeş ülke Azerbaycan (resmi adıyla Azerbaycan Cumhuriyeti) Kafkasya’da, Güney Kafkas Dağları bölgesinde bulunmaktadır. Çok zengin bir kültüren mirasa sahip olan Azerbaycan’ın, Hazar Denizi, Rusya, Gürcistan, Ermenistan ve İran gibi sınır komşuları vardır. Kafkasya’nın en büyük yüzölçümlü ülkesi olan Azerbaycan’da harika bir doğa çeşitliliği mevcut olup, hayvan yaşamının zenginliği de dikkat çekicidir. Üniter bir devlet olan Azerbaycan’ın Cumhurbaşkanı İlham Aliyev, resmi dili Azerice’dir.

Farsça Azar (Ateş) ve Payegan (Muhafız) kelimelerinin birlikteliğinden adını alan Azerbaycan Ateşler Ülkesi olarak da bilinmektedir. Bakü’de bulunan Flame Towers ülkenin en turistik yerlerinden biridir. Ülkede çok sayıda yanardağ ve petrol yatağı bulunmaktadır. Azerbaycan’ın mutlaka görülmesi gereken yerleri arasında Bakü’deki Alev Kuleleri, Kız Kalesi, Ateşgah, Targovi Caddesi ve Bakü Bulvarı’nın yanı sıra farklı şehirlerdeki Şeki Hanları Sarayı, Kobustan Milli Parkı, Han Bağı, Kebele ve Göygöl Milli Parkı sayılabilir.
Sitemizi kullanarak çerezlere (cookie) izin vermektesiniz. Detaylı bilgi için Çerez Politika'mızı inceleyebilirsiniz.