ZhangZhihui's Blog  

2019年10月14日

摘要: zzh@ZZHPC:~$ zsh ZZHPC% arr=(aaa bbb ccc ddd) ZZHPC% echo ${arr[0]} ZZHPC% echo ${arr[1]} aaa ZZHPC% # zsh index of array begins from 1. zzh@ZZHPC:~$ 阅读全文
posted @ 2019-10-14 17:35 ZhangZhihuiAAA 阅读(317) 评论(0) 推荐(0) 编辑
 
摘要: > a=0> b=1> a=a+b> echo $aa+b > a=0> b=1> a+=b> echo \$a0b >a=0>b=1>(a+=b) >echo \$a 0>((a+=b))>echo \$a1 >a='0'>b='1'>(a+=b)>echo \$a0>((a+=b))>echo 阅读全文
posted @ 2019-10-14 16:19 ZhangZhihuiAAA 阅读(99) 评论(0) 推荐(0) 编辑
 
摘要: There are no difference between $* and $@: zzh@ZZHPC:~/aaa$ cat 1.sh mkdir $* zzh@ZZHPC:~/aaa$ cat 2.sh mkdir $@ zzh@ZZHPC:~/aaa$ ./1.sh a "b c" d zzh 阅读全文
posted @ 2019-10-14 15:02 ZhangZhihuiAAA 阅读(191) 评论(0) 推荐(0) 编辑
 
摘要: find ./ -type f -newermt '20191010 00:00:00' ! -newermt '20191011 00:00:00' 阅读全文
posted @ 2019-10-14 10:30 ZhangZhihuiAAA 阅读(139) 评论(0) 推荐(0) 编辑