Raspberry Pi_Kor_20.2.3 script 문법 기초

20.2.3 script 문법 기초

여기서는 script를 작성하기 위한 각종 규칙과 문법에 대해서 설명할 것이다.

20.2.3.1 script 정의

script는 기본적으로 텍스트 형식의 파일이다. 내부적으로 해당 파일이 script라는 정의가 있어서 일반적인 텍스트 파일과는 구분된다. 해당 파일일 script라는 것을 정의하는 것은 다음과 같이 행의 맨 처음에 입력하는 값이다.

Raspberry Pi_Eng_20.2.3 Basics of Script Syntax

20.2.3 Basics of Script Syntax

In this section, we will describe various rules and syntax for writing scripts.

20.2.3.1 Definition of Script

Script is basically a text file. Internally, the file is defined as a script, and is differentiated from a normal text file. Defining that the file is the script is the value you enter at the beginning of the line as follows.