filetest1
来自「UNIX+shell范例精解(第4版)代码」· 代码 · 共 22 行
TXT
22 行
#!/bin/tcsh -f# Scriptname: filetest1if ( -e file ) then echo file existsendifif ( -d file ) then echo file is a directoryendifif ( ! -z file ) then echo file is not of zero lengthendifif ( -r file && -w file && -x file) then echo file is readable and writable and executable.endifif ( -rwx file ) then echo file is readable and writable and executable.endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?