1.tee命令 ls | tee filename #若出现Permission Denied使用下面 ls | sudo tee filename #清空filename后重写 ls | sudo tee -a filename #在filename文件末尾追加 2.> 符号 ls > filename #重写文件filename,可能会Permission Denied ls >> filename #在filename末尾追加,可能会Permission Denied sud…
shell http://baike.baidu.com/link?url=qN3THt5ZJhQtwRJJkakWdz5-vZp4V9H3OmNP97XNhaoL-dqU-6rrFrYfHXmYv60td49ZsVxDHF8lTwPC3zK_C8-nWCBgy8sRV_9uqqcczeu Linux Shell http://baike.baidu.com/link?url=2LxUhKzlh5xBUgQrS0JEc61xi761nvCS7SHJsa1U1SkVbw3CC869AoUCyKT0…