跳转到内容

Shell 编程/文件条件

来自 Wikibooks,一个开放世界的开放书籍


  -d file  directory
  -e file  file exists
  -f file  file is regular file
  -g file  set-group-id on file
  -r file  readable file
  -s file  non-zero sized file
  -u file  set-user-id on file
  -w file  writable file
  -x file  executable file
华夏公益教科书