filmov
tv
Functions and Arrays in Linux | bash shell scripting
Показать описание
A Bash shell function is a set of one or more commands that can be called repeatedly from within a Bash script. Functions can be defined using the function keyword or by simply defining the function name followed by the list of commands enclosed in curly braces.
An array in Bash is a collection of values that are indexed by a number. Arrays can be declared using the declare keyword or by simply defining the array name followed by a list of values enclosed in parentheses.
An array in Bash is a collection of values that are indexed by a number. Arrays can be declared using the declare keyword or by simply defining the array name followed by a list of values enclosed in parentheses.
Комментарии