After working on my Linux server [CentOS 7] ,I typed
reboot -f in my terminal,
is it possible to retrieve my bash history after rebooting it?
I understand that
reboot -f will forcefully reboot the machine. This is similar to pressing the power button of the CPU. No shutdown takes place. The system will reset instantly.
As per man page :
When called with --force or when in runlevel 0 or 6, this tool invokes the reboot(2) system call itself (with REBOOTCOMMAND argument passed) and directly reboots the system. Otherwise this simply invokes the shutdown(8) tool with the appropriate arguments without passing REBOOTCOMMAND argument.
Now my question is: Is it possible retrieve bash history after