Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash alias function that accepts arguments

alias example='f() { echo Your arg was $1. };f'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #alias #function #accepts #arguments
ADD COMMENT
Topic
Name
5+7 =