linux shell编程
title: linux shell编程
categories: shell
tags: [linux,shell,运维]
shell特性
history查看历史命令
ls ~./bash history
echo $HISTSIZE输出历史命令定义最多保留多少条的环境变量
!!表示上一条命令
!$表示上衣条命令最后一个参数
ls 111.txt
cat !$表示cat 111.txt,使用...
原创
2018-11-20 23:48:14 ·
404 阅读 ·
0 评论