
shell
世纪殇
一个不断保持前进的程序员,目前潜心在数据分析和中等网站架构设计中
展开
-
shell 文件操作
-a file exists. -b file exists and is a block special file. -c file exists and is a character special file. -d file exists and is a directory. -e file exists (just the same as -a). -f file e原创 2015-07-22 17:33:44 · 703 阅读 · 0 评论 -
shell 命令 not found
先说下我的情况,SHELL脚本如下: #!/bin/bash i=1; for file in `ls`;do A[$i]=$file; ((i++)) done; 使用 sh a.sh出现错误 a.sh: 4: a.sh: A[1]=1: not found a.sh: 5: a.sh: i++: not found a.sh: 4: a.s原创 2016-11-09 22:00:26 · 2848 阅读 · 0 评论