DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash function
foo () { echo $1 # $1 is the first argument } foo # alternative way function foo { echo $1 } foo
Source by linuxize.com #
PREVIOUS
NEXT
Tagged:
#bash
#function
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit