Bash

How to flexibly handle parameters in our shell scripts

botond published Jan. 2019, 09, 11:15 p.m. time
When programming, it is important that when we write a program that performs a certain task, our code should be prepared for several possibilities, variations and, if possible, parameterized - with which we can make its operation fine-tuned. This is no different for shell scripts. In today’s example, we’ll look at how we can flexibly handle the parameters we get in our scripts, making it easier to create programs that are easier for others to use.

Managing and Using Arrays in Shell Scripts (page 4)

botond published 2019. 03. 11., h - 17:11 time
During programming, it is often necessary to use arrays, which can be used to store several values ​​at once, which can then be processed automatically in cycles. This is no different for Shell scripts. In this four-page description, we’ll look at several examples of how we can use array variables in different situations in our Shell scripts. On this page, we will look at how to export arrays to the global namespace.

Managing and Using Arrays in Shell Scripts (page 3)

botond published 2019. 03. 11., h - 17:10 time
During programming, it is often necessary to use arrays, which can be used to store several values ​​at once, which can then be processed automatically in cycles. This is no different for Shell scripts. In this four-page description, we will look at several examples of how we can use array variables in different situations in our Shell scripts. On this page, we continue to use arrays to get acquainted with associative arrays.

Managing and Using Arrays in Shell Scripts (page 2)

botond published 2019. 03. 11., h - 17:09 time
During programming, it is often necessary to use arrays, which can be used to store several values ​​at once, which can then be processed automatically in cycles. This is no different for Shell scripts. In this four-page description, we will look at several examples of how we can use array variables in different situations in our Shell scripts. On this page, we continue to get acquainted with indexed arrays by using arrays in branches and functions.

Manage and use arrays in Shell scripts

botond published 2019. 03. 11., h - 17:08 time
During programming, it is often necessary to use arrays, which can be used to store several values ​​at once, which can then be processed automatically in cycles. This is no different for Shell scripts. In this four-page description, we’ll look at several examples of how we can use array variables in different situations in our Shell scripts. On this page, we’ll learn how to create indexed arrays, load and read data into arrays, and see how to use indexed arrays in loops.

Bash

Bash command line man page and help. Bash is a sh-compatible command language processor that executes commands read from standard input or a file. Bash also contains the useful properties of Korn and C shell (ksh and csh). The purpose of Bash is to properly implement the Shell and Utilities portion of the IEEE POSIX specification (IEEE 1003.1 standard). By default, Bash can be configured to be POSIX-compliant.

Bash (Bourne Again Shell)

botond published Jan. 2018, 07, 11:19 p.m. time
A brief introduction to Bash (Bourne Again Shell) in the Encyclopedia

The command line

botond published 2018/04/14, Sat - 01:37 time
Most of the tutorials on this page can only be executed from the command line (CLI), that is, typed into the terminal. Therefore, it is worth mentioning a few words about terminals. In this article, I will not go into the technical details, just a brief, comprehensive introduction to the subject. More detailed information can be found in the encyclopedia.