Command History

01. Last thousand command display
[root@daddylinux~]# history |more

02. Last ten command display
[root@daddylinux~]# history 10

Once you logout or shutdown your pc your current command history will be saved in to a hidden file in your home folder.

03. See a hidden file
[root@daddylinux~]# cd
[root@daddylinux~]# cat .bash_history

0 comments:

Post a Comment