Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2021 02:33:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257495] sh shell does not save history after reboot
Message-ID:  <bug-257495-227-GDj6SlZki2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257495-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257495

--- Comment #2 from bugzeo <kiboto6933@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@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257495-227-GDj6SlZki2>