console command history

Ernie Luzar luzar722 at gmail.com
Fri Oct 21 17:02:24 UTC 2016


Hello List;

After installing from scratch using cdrom.iso the console command 
history is blank for user root. As I issue commands from the root 
command line these commands get added to the history as one would 
expect. After rebooting the system, root's history contains the commands 
I issued before I rebooted the system, and any newly issued commands are 
added to the history as one would expect.

Now here is the problem I am seeing. After any reboots the history 
contains only the issued commands from the first boot after the install 
from scratch. The history does not contain the commands issued before 
the last reboot.

How can I configure the console command history for user root to be a 
rolling list of issued console commands that contain the history of the 
issued commands between 2 reboots, so after a reboot the history 
contains commands that were issued prior to the last reboot?

Running 11.0 with sc console driver because vt does not have copy-paste 
ability. This problem is also in 7.x 8.x 9.x and 10.x series and now I 
need a resolution for this annoying tick.


Thanks


More information about the freebsd-questions mailing list