LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 890|回复: 2

how to get the whole previous command line?

[复制链接]
发表于 2008-11-27 12:16:41 | 显示全部楼层 |阅读模式
Sorry, my input method doesn't work!

I want to print the who previous command line when it failed, so is there an good way to get it? I'm using ksh, and the history functionality isn't available. Thanks!
发表于 2008-11-27 13:01:38 | 显示全部楼层
http://homepage.usask.ca/~mjr347/prog/geoe314/unix07.html

the `ksh History Mechanism Overview' section
回复 支持 反对

使用道具 举报

发表于 2008-11-27 21:25:06 | 显示全部楼层
do you want this:
set -o emacs
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表