Bash Shell

How to Use until Loop in Your Shell Scripts
In bash for, while, and until are three loop constructs. While each loop differs syntactically and functionally their purpose is to iterate over a blo...
How to Use Break and Continue Statements in Shell Scripts
In this article, we will take a look at how to use a break and continue in bash scripts. In bash, we have three main loop constructs (for, while, unti...
Different Ways to Read File in Bash Script Using While Loop
This article is all about how to read files in bash scripts using a while loop. Reading a file is a common operation in programming. You should be fam...
How to Use Heredoc in Shell Scripting
Here document (Heredoc) is an input or file stream literal that is treated as a special block of code. This block of code will be passed to a command ...
Learn Difference Between Sourcing and Forking in Bash
The main focus of this article is to clearly understand what happens when you run the script vs source the script in bash. First, we will clearly unde...
Opi $$ n ja $ BASHPID n välinen ero Bashissa
Viime aikoina työskentelin shell-komentosarjan parissa ja näin merkittävän eron siinä, kuinka bash erityinen muuttuja $ ja BASHPID käyttäytyy. Jokaise...
How to Create Simple Shell Scripts in Linux
Creating shell scripts is one of the most essential skills that Linux users should have at the tip of their fingers. Shell scripts play an enormous ro...
Marcel - A More Modern Shell for Linux
Marcel is a new shell. It is similar to traditional shells in many ways, but it does a few things differently: Piping: All shells use pipes to send a...
Direnv - Hallitse projektikohtaisia ​​ympäristömuuttujia Linuxissa
direnv on hieno avoimen lähdekoodin laajennus shellillesi UNIX-käyttöjärjestelmässä, kuten Linux ja macOS. Se on koottu yhdeksi staattiseksi suoritett...