01. Last thousand command display
[root@server ~]# history |more
02. Last ten command display
[root@server ~]# 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@server ~]# cd
[root@server ~]# cat .bash_history
------------------------------------------------------------------------------------------
Command History
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment