Thông tin tài liệu
LẬP TRÌNH SHELL Nội dung Lập trình shell Đặc trưng script Cấu trúc shell-script Create File & Run Script Review commands Parameter & Variables Parameter Entity that stores values type positional parameters special parameters arguments present on command line referenced by number set by shell to store info about aspects of current state Variable identified by a name Contain values Positional Parameters Giá trị default tham số File Name Expansion Options six shell options that affect way in which file names are expanded shopt command -s enable -u disable Ex: various globbing options nullglob failglob dotglob extglob five new file name expansion operators are added pattern-list is a list of pipe-separated globbing patterns parentheses, which are preceded by ?, *, +, @, or ! Ex remove existing files in $HOME/globfest, create a new set Example nocaseglob globstar allows use of ** to descend recursively into directories &subdirectories looking for matching files review ...Nội dung Lập trình shell Đặc trưng script Cấu trúc shell- script Create File & Run Script Review commands Parameter & Variables... parameters special parameters arguments present on command line referenced by number set by shell to store info about aspects of current state Variable identified by a name Contain values
Ngày đăng: 03/12/2015, 18:19
Xem thêm: Bài giảng lập trình shell, Bài giảng lập trình shell