1:以xz结尾的压缩包:此类压缩包也是打包后再压缩,外面是xz压缩方式,里层是tar打包方式
2:将标准输出重定向到log中并且同时在console里输出$xz -d ***.tar.xz $tar -xvf ***.tar:
$sh build.sh | tee 123.log
3:查找文件
4::搜索某个c文件中的关键字$find ./ -name "spi.c"
$grep ./* -r --include=*c -e "spi"
1:以xz结尾的压缩包:此类压缩包也是打包后再压缩,外面是xz压缩方式,里层是tar打包方式
2:将标准输出重定向到log中并且同时在console里输出$xz -d ***.tar.xz $tar -xvf ***.tar:
$sh build.sh | tee 123.log
3:查找文件
4::搜索某个c文件中的关键字$find ./ -name "spi.c"
$grep ./* -r --include=*c -e "spi"