文章目录 一、flock声明 二、实现 一、flock声明 Usage: flock [options] <file>|<directory> <command> [<argument>...] flock [options] <file>|<directory