📜  带参数的 bash 别名 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:15.900000             🧑  作者: Mango

代码示例3
myfunction() {
    #do things with parameters like $1 such as
    mv "$1" "$1.bak"
    cp "$2" "$1"
}