86477217 2020-06-06
#!/bin/sh if [ "$1" = "redhat" ] then echo "fedora" else if [ "$1" = "fedora" ] then echo "redhat" else echo "/root/foo.sh redhat|fedora" fi fi
参考论坛截图
用户可执行文件:/bin、/usr/bin、/usr/local/bin. 系统可执行文件:/sbin、/usr/sbin、/usr/local/sbin. 内核数据与Bootloader:/boot