history直接获得命令去掉行号

history | awk '{print $2 }'

posted @ 2019-12-31 15:33  自动侠  阅读(241)  评论(0)    收藏  举报