代码改变世界

Linux test command

2023-07-26 09:40  jetwill  阅读(16)  评论(0编辑  收藏  举报

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)