Linux bash Shell 프로그래밍

logo
본 과정은 리눅스 서버 운영환경에서 복잡한 관리 작업을 자동으로 진행시켜 업무 효율을 높이기 위한 스크립트 작성요령을 배울 수 있습니다. 변수 선언, 분기와 반복 제어문, 배열, 함수 등의 리눅스 Bash Shell 문법과 구조를 소개하고, 정규 표현식과 awk, sed 명령어를 사용한 Shell 스크립트 응용 방법을 배웁니다. Linux Bash Shell의 여러 구문을 이해하여 운영에 필요한 스크립트를 작성하거나 이미 작성되어 사용되고 있는 스크립트의 활용도를 높일 수 있는 능력 개발을 학습의 목표로 합니다.
calendar
학습 목표
• 리눅스 서버 운영을 위한 Shell 프로그램 작성 방법을 학습한다. • 운영중인 쉘 스크립트를 다시 작성 또는 수정하여 업무에 보다 효율적인 환경을 업무 자동화 환경을 운영한다. • 리눅스 쉘 스크립트를 작성하고, 디버깅하여 업무에 활용할 수 있는 능력을 배양한다. • 리눅스 awk, sed와 같은 쉘 프로그래밍 방법을 습득하고, 쉘 스크립트에 적용하여 보다 효율적인 스크립트를 작성한다. • 시스템 관리 작업을 자동화할 수 있는 프로그래밍 기술을 습득한다.
calendar
수강대상
• 리눅스 시스템 관리자 및 관리를 계획하는 자
calendar
교육 일정
  • 시작일 : 2025년 8월 18일 ~ 종료일 : 2025년 8월 22일
  • 시작 시간 : 9시 30분 ~ 종료 시간 : 17시 30분

calendar
커리큘럼
  • Linux bash Shell 프로그래밍

    Introduction to Bash Shell Scripts

    • What is a shell script?

    • Script execution

    • The subprocess environment

    • Shell features Shell Scripting

    • Which shell?

    • Recommended script format

    • Planning to write a shell script

    • Portability issues Variables

    • Variables

    • Displaying and using variables

    • Concatenation and substrings

    • Other sources of data for variables User Input

    • Reading user input

    • Positional parameters

    • Creating positional parameters

    • Conditional substitution

    • External influences Designing Program Output

    • Variable attributes

    • Formatted data

    • Cursor positioning and terminal echo Shell Arithmetic

    • Creating integer-only variables

    • Base10 and others

    • Working with arithmetic operators and data Branches and Logic Testing

    • Logic testing

    • Conditional operators

    • Multiway decision branching and the case Statement Shell Patterns

    • Basic expressions

    • More complex patterns

    • Pattern combinations Program Loops

    • The while loop

    • The until loop

    • The for loop

    • Breaking out of a loop

    • Continue and exit commands

    • The select loop The getopts Command

    • Processing arguments

    • The getopts and OPTARG variable

    • The OPTIND variable Array Variables

    • Substituting and counting

    • Using integer variables as element numbers Functions

    • Displaying current shell functions

    • Declaring and using functions

    • Variable scope

    • Function libraries and recursion Managing Input and Output

    • File descriptors

    • Reading and writing using file descriptors

    • Redirecting, parameter lists, and here documents

    • Creating parameter lists from input lines Traps and Signals

    • Common signals

    • The trap and stty commands Regular Expressions

    • Regular expressions

    • Metacharacters

    • The grep command Introduction to awk

    • Record processing

    • Pattern matching and printing

    • Relational expressions

    • awk variables Variables, Strings, and Arithmetic Operations

    • awk user-defined variables

    • Environment variables

    • Arithmetic operations

    • String manipulation

    • Formatted output

    • Command line arguments awk Flow Control

    • Conditional if, while, and for loops

    • Arrays

    • getline, next, and exit

    • Processing arrays

    • Associative arrays Stream Editing with sed

    • Substituting text

    • Deleting and printing lines

    • Reading and writing files

    • Multiple sed editor functions

1,100,000원 (면세)

TAGS

2025년 08월

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31