example02.01

来自「UNIX[1].shell范例精解(第4版)_code」· 01 代码 · 共 17 行

01
17
字号
#!/bin/csh -fif ( -e file ) then	echo file existsendif if ( -d file ) then 	 echo file is a directoryendifif ( ! -z file ) then	 echo file is not of zero length endifif ( -r file && -w file ) then	 echo file is readable and writeableendif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?