Answers for "bash alias with parameter"

0

bash alias with parameter

myfunction() {
    #do things with parameters like $1 such as
    mv "$1" "$1.bak"
    cp "$2" "$1"
}
Posted by: Guest on April-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language