Command Substitution: Can you return data instead of exit codes in Bash? | #3 Practical Bash

Command Substitution: Can you return data instead of exit codes in Bash? | #3 Practical Bash

kubucation

5 лет назад

10,873 Просмотров

It seems bash only allows us to return an exit code from a function and not data like in other programming languages? So what do we instead? Can command substitution come to the rescue? In this video you'll learn how to safely pass data from one function in your script to another

Тэги:

#bash #command_substition #bash_scripting #terminal_skills #terminal #tutorial #course #coding #programming #shell_scripting #scripting #automation
Ссылки и html тэги не поддерживаются


Комментарии: