DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash alias with parameter
myfunction() { #do things with parameters like $1 such as mv "$1" "$1.bak" cp "$2" "$1" }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#bash
#alias
#parameter
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit