I'm new to LINUX. I'm using LINUX thru putty When I run history command, I see last ran commands but when I'm trying to run them I'm getting this error...
266 hist
267 h
268 ls -la
269 ls -lastr
270 vi .sh_history
271 vi .
272 h
QTH614:samgw:/prod/user/home/qth614>!266
-ksh: !266: not found [No such file or directory]
/prod/user/home/614>
This might be necause of my putty configuration...I'm not sure.
Thanks, Sam.
That syntax is something I'm used to with bash, but it looks like ksh you might want to try this:
r 266
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.