aix如何将history输出所有命令导出到文本文件

more .sh_history

cat .sh_history > mylogfile.txt

猜你喜欢

转载自www.cnblogs.com/emanlee/p/11681016.html