大网数据广告活动
服务器运维问答

How to identify ancient KornShell version?

· 52CE 我爱测

We had a guy retire on us, and the documentation left behind is a little on the light side. Need a little help identifying and using part an older client-server system. The server itself is maintained by several excellent Unix ad…

问题原文

原帖链接 · JonathanDavidArndt · CC BY-SA 3.0

We had a guy retire on us, and the documentation left behind is a little on the light side. Need a little help identifying and using part an older client-server system.

The server itself is maintained by several excellent Unix admins. We are currently running AIX 7.1.0.0 on the server side.

However, when we log in using the proprietary SSH client, we are greeted with a shell that looks familiar, but is strange in other ways. The shell itself seems to be KornShell:

echo $0
-ksh

But the shell doesn't respond to normal shell commands (cannot tap up/down to recall recent commands, cannot backspace normally, no auto-complete with tab, etc.)

Recent commands are recalled using ESC + k

If the ESC key is tapped, the terminal stops responding to input until i, a, s, or cc are pressed (or k, as already mentioned brings up the most recent command).

To edit a recalled command we have to tap SHIFT + UP

Backspace is actually the RIGHT arrow, and to clear a typed command we have to hit SHIFT + RIGHT

The whence command is not available, and none of the techniques to discover the KSH version on this page worked.

Someone in our office suggested this is some kind of inline vi.

Does anyone else have any advice? Is there any documentation available?

已采纳解答

原帖链接 · JonathanDavidArndt · CC BY-SA 3.0

CTRL+ALT+V

or

ESC, CTRL+V

This was discovered on a related question on the Unix & Linux SE:

How can I safely get the version of ksh? - Unix & Linux Stack Exchange

This revealed that we are running

Version M-11/16/88f

Maybe it's not that ancient after all!

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-11-21)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。