Tuesday, October 30, 2018

Functions in Shell Script

Image title

The best way to learn shell scripting is to fall in love with the command line. Functions in shell script play an important role for re-usability.

What Are Functions in Shell Script All About?

A function is a group of commands that are assigned a name that acts like a handle to that group of commands. To execute this group of commands defined in the function, you simply call the function by the name you provided.



from DZone.com Feed https://ift.tt/2Jrslvw

No comments:

Post a Comment