1、#查找/home/vmuser/test下所有目录列表 ls -F /home/vmuser/test | grep '/$' 2、#把目录列表写入文件 ls -F /home/vmuser/test | grep '/$' > log.txt 3、#显示前几个文件列表 tail -n 3 log.txt 4、#find linux 指定后缀_文件查找&

1、#查找/home/vmuser/test下所有目录列表 ls -F /home/vmuser/test | grep '/$' 2、#把目录列表写入文件 ls -F /home/vmuser/test | grep '/$' > log.txt 3、#显示前几个文件列表 tail -n 3 log.txt 4、#find linux 指定后缀_文件查找&