/bin/sh save history

John R. Levine johnl at iecc.com
Fri Jan 10 18:05:30 UTC 2020


>>> Is there no way to specify a history file for /bin/sh and
>>> automatically save / merge the session hitory with that of previous
>>> and concurrent sessions?
>>
>> No.  For that you need bash from ports or packages.
>
> /bin/tsch in base system has a ./.history file and can be configured
> to scroll history back and forth like bash:

Yes, but that uses csh syntax rather than sh syntax.

Regards,
John Levine, johnl at taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly


More information about the freebsd-questions mailing list