取指定文件夹下的任意一个文件,并用vim打开
vi $(ls -l|grep "^-"|head -n 1|awk '{print $9}')
统计给定文件夹下文件的数量
ls -l|grep "^-"|wc -l