Command Substitution: Can you return data instead of exit codes in Bash? | #3 Practical Bash
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
Видео Command Substitution: Can you return data instead of exit codes in Bash? | #3 Practical Bash канала kubucation
Видео Command Substitution: Can you return data instead of exit codes in Bash? | #3 Practical Bash канала kubucation
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![What is stdout, stderr, /dev/null and redirection? | #4 Practical Bash](https://i.ytimg.com/vi/XGSK5xr_B_Q/default.jpg)
![Creating Command Line Menus with Shell Scripts](https://i.ytimg.com/vi/VOTclQFMbmM/default.jpg)
![](https://i.ytimg.com/vi/uW0ctgOIb7Q/default.jpg)
![Super easy new way to add HTTPS to Kubernetes apps with ManagedCertificates on GKE](https://i.ytimg.com/vi/ceeKC4izk4E/default.jpg)
![](https://i.ytimg.com/vi/QUTCkC-6Stw/default.jpg)
![Bash exit codes & command chaining | #1 Practical Bash](https://i.ytimg.com/vi/sAD4dq_jDTA/default.jpg)
![Street Dude Promises Not To Bash The Public Piano](https://i.ytimg.com/vi/lvKEwEBKG04/default.jpg)
![Introduction to Bash Scripting 06 - A Simple "If" Statement](https://i.ytimg.com/vi/elrbjYdL-8c/default.jpg)
![Pipe into commands and read from STDIN | #5 Practical Bash](https://i.ytimg.com/vi/ULTl6t9ztSk/default.jpg)
![tr - Transform, Replace and Remove specific characters from strings | #10 Practical Bash](https://i.ytimg.com/vi/nyoZ8VeMEq0/default.jpg)
![cURL - The only HTTP client you'll ever need | Practical Bash & Terminal #9](https://i.ytimg.com/vi/APtOavXTv5M/default.jpg)
![Let's build a REST API in Go with zero dependencies!](https://i.ytimg.com/vi/2v11Ym6Ct9Q/default.jpg)
![Taking the mystery out of the "tar" command: Create, extract and compress archives easily | Bash #8](https://i.ytimg.com/vi/-p47gier068/default.jpg)
![5 Free Software That Are Actually Great!](https://i.ytimg.com/vi/qSa2UPDH2yc/default.jpg)
![How To: Calligraphy & Hand Lettering for Beginners! Tutorial + Tips!](https://i.ytimg.com/vi/sBoVGqiSzr4/default.jpg)
![Fastest way to become a software developer](https://i.ytimg.com/vi/CvJG4sQhzsw/default.jpg)
![#1 React forms the native HTML/Javascript way | React Forms 4 Ways](https://i.ytimg.com/vi/LZldYD6a78Y/default.jpg)
![BASH Scripting in Linux Lesson 10 Working with CSV files](https://i.ytimg.com/vi/OecFFZpIkDc/default.jpg)
![Learn about scripts, functions, chmod and set -e | #2 Practical Bash](https://i.ytimg.com/vi/aqvc9kYnz0U/default.jpg)
![Introduction to Bash Scripting 07 - Checking the Existence of Files and Folders](https://i.ytimg.com/vi/u6t19K3HiOs/default.jpg)