linux 创建busybox命令链接 ---ln命令

时间:2022-12-25 09:43:31

ln 命令使用格式:

ln [options] source dist

[options]:

        -s      Make symlinks instead of hardlinks
        -f      Remove existing destinations
        -n      Don't dereference symlinks - treat like normal file
        -b      Make a backup of the target (if exists) before link operation
        -S suf  Use suffix instead of ~ when making backup files

使用例子:

ln -f  /sbin/ifconfig  /bin/busybox