shell脚本的 -U
时间: 2023-10-20 18:35:30 浏览: 107
在shell脚本中,-U选项用于检查文件是否存在并且当前进程有文件的读权限。具体而言,-U选项用来判断文件是否存在并且是可读的。它是一种检查文件权限的常用选项之一。如果文件存在并且当前进程有文件的读权限,则返回true,否则返回false。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [shell脚本案例-俄罗斯方块](https://download.csdn.net/download/xiaoshunzi111/15501370)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [shell脚本 -a到-z 含义](https://blog.csdn.net/IreneByron/article/details/126156137)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文