|
我的文件内容如下:
/home/pengx/msrwgs/slit/test10/t400/nohup.out
/home/pengx/msrwgs/slit/test10/t450/nohup.out
/home/pengx/msrwgs/slit/test10/t500/nohup.out
/home/pengx/msrwgs/slit/test10/t550/nohup.out
/home/pengx/msrwgs/slit/test10/t600/nohup.out
/home/pengx/msrwgs/slit/test10/t650/nohup.out
/home/pengx/msrwgs/slit/test10/t700/nohup.out
/home/pengx/msrwgs/slit/test10/t750/nohup.out
/home/pengx/msrwgs/slit/test10/t800/nohup.out
/home/pengx/msrwgs/slit/test10/t850/nohup.out
我想在每行的/home前加个rm -rf
请问该怎么做? 最好弄个通用的shell表达式 ,谢谢 |
|