SHELL: How to save command histories from multiple shells in a windowing environment (Doc ID 1005695.1)

Last updated on OCTOBER 19, 2016

Applies to:

Solaris Operating System - Version 8.0 and later
All Platforms

Goal

C shell and Korn shell only save one copy of a command history file.
When I exit a window manager like OpenWindows and CDE, only the command
history of the last shell to exit is saved. How can I save the command
histories from all of my shells when I exit the window manager?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms