Quantcast
Channel: New Posts - Q&A - Linux Systems
Viewing all articles
Browse latest Browse all 120

Understanding semicolons in Bash functions

$
0
0

I know I can write a function at a Bash command line like so:

$ test() { echo 'test' ; }

I also found that I can write the } on a separate line, a...


Viewing all articles
Browse latest Browse all 120

Trending Articles