Technical Help & Discussion > Website Design & Programming
Understanding Functions in Bash
(1/1)
sam:
--- Quote ---Because the function is executed in the context of the same shell, it does not create a new child process, this makes functions faster as they access the information in RAM. This also will save on resources as you use functions.
"Functions are a script within a script which can be defined by the user and stored in memory, allowing you to reuse the function repeatedly. This also provides a modular aspect that allows you to debug one function at a time be disabling functions.
--- End quote ---
http://bashshell.net/shell-scripts/understanding-functions
davy51:
i didnt know it worked that way
I had to search for bash commands so I could just copy and paste but didnt know how they worked
Bash commands
http://is.gd/yEqUY2
sam:
I love bash
Navigation
[0] Message Index
Go to full version