!^ first argument
!$ last argument
!* all arguments
!:2 second argument
!:2-3 second to third arguments
!:2-$ second to last arguments
!:2* second to last arguments
!:2- second to next to last arguments
!:0 the command
!! repeat the previous line
linux获取上一个命令的参数
未经允许不得转载:琼杰笔记 » linux获取上一个命令的参数
评论前必须登录!
注册