@suthakar_sush you probably ran the commands with another user eg. student , hence root user session cannot list those commands.
You can however switch to student user and see the history or use .bash_history file.
or you can copy the student user's bash_history file as root user to root user directory and see the history ( provided the user has not overwrite any other location for .bash_history file ).
Another thing to consider is if you have two root terminals open then you'll only see the history of commands for the individual sessions. If you close one of the sessions then its command history is written to the history file, and is visible to the other session.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.