bash脚本检测软链接有效性#!/bin/bash if [ -f '/home/test.log' ] then echo "file exist" else echo "file doesn't exist" fi Last modification:March 1, 2023 © Reprint prohibited Support Appreciate the author AliPayWeChat Like V50%看看实力