Linux test command

佚名 / 2023-07-26 / 原文

Linux test command

https://www.computerhope.com/unix/test.htm

-s FILE    FILE exists and has a size greater than zero
-S FILE    FILE exists and is a socket
-L FILE    FILE exists and is a symbolic link (same as -h)