What does -f mean in bash

后端 未结 5 1454
北荒
北荒 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

    The [ is the same as the command test which allows you to test certain things. Try help test to find out what the flags are. Things to be careful with are spaces - the [ needs a space after it.

提交回复
热议问题