Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command History?

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,893
NL
Hello,
This might be a silly question, but here I go...
Is there a file somewhere that keeps track of the last commands entered? Sort of like a history file?
 
That's assuming you're using the ksh shell. Best way I've found of doing this (pg doesn't seem to like .sh_history for some reason) is cat .sh_history | more. Hope this helps.
 
Guys,
Thank you. This was exactly what I was looking for. Many thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top