[Bug 257495] sh shell does not save history after reboot

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 30 Jul 2021 02:33:50 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257495

--- Comment #2 from bugzeo <kiboto6933_at_eyeremind.com> ---
While I am in the same /bin/sh shell session, I can go up to view previous
commands. However if I close the shell with CTRL+D and open another one (same
user, not root), there's no history. After reboot no history either.

The command "history" says "command not found" in sh, but in csh does exist and
throws all the commands from previous sessions.

$ uname -a
FreeBSD freebsd 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 #0: Tue Jun 29 19:46:20
UTC 2021    
root_at_amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 
amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Jul 30 2021 - 02:33:50 UTC

Original text of this message