[root@node29 ~]# history 1 set -o history 2 set -o history 2> /dev/null 3 read -p "Please input param" param 4 vim ./test.sh