The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
history mirusnet Shell Programming and Scripting 1 01-27-2008 06:02 AM
History JuniorJack UNIX for Dummies Questions & Answers 2 06-02-2005 01:37 AM
Any History igorsch Linux 1 09-25-2004 09:45 AM
history tselvanin UNIX for Dummies Questions & Answers 2 09-23-2003 12:40 AM
history in ksh vince_ascend Shell Programming and Scripting 5 11-08-2001 01:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-22-2008
Registered User
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 187
History ??

Hi,

How can i see first 3 commands that are there in history {fc -l} ?


Thanks
Reply With Quote
Forum Sponsor
  #2  
Old 01-22-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
Code:
fc -l $HISTSIZE | head -3
Korn shell
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0