dcsimg
Linux Today: Linux News On Internet Time.





How to Write a Function in bash

Mar 04, 2021, 07:00 (0 Talkback[s])
(Other stories by Xmodulo)

This tutorial discusses all about bash functions, such as how to create and call a bash function, how to pass arguments to it, how to exit a bash function, and how to return a value from it. Each of these topics on writing a bash function is illustrated with detailed examples.

Complete Story