What does -f mean in bash

后端 未结 5 1491
北荒
北荒 2021-01-17 09:23

I was looking at how to use runit to run gunicorn. I was looking at the bash file and I don\'t know what -f $PID does in

#!/bin/sh

GUNICORN=/us         


        
5条回答
  •  耶瑟儿~
    2021-01-17 10:23

    -f - file is a regular file (not a directory or device file)

    Check this out for all file test operators: http://tldp.org/LDP/abs/html/fto.html

提交回复
热议问题