The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ftp most recently modified file ahmedwaseem2000 Shell Programming and Scripting 6 02-27-2007 01:22 PM
Trying to Copy Files Changed Recently scotbuff Shell Programming and Scripting 4 01-23-2007 09:04 AM
chmod command for recently modified files polka_friend UNIX for Dummies Questions & Answers 2 08-30-2006 03:25 PM
Recently Announced TCP Vulnerability Perderabo News, Links, Events and Announcements 0 04-23-2004 07:38 AM
Shortcut fmmq UNIX for Dummies Questions & Answers 1 09-10-2002 11:45 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-20-2005
RishiPahuja's Avatar
RishiPahuja RishiPahuja is offline
Registered User
  
 

Join Date: Apr 2005
Location: Bangalore, India
Posts: 203
Lightbulb shortcut for recently used commands in csh

hello,

as in bash we have history of commands what is the shortcut for seeing recently used command in csh shell.

thanks in advance.

regards,
rishi

found the reply in man! Thanks
it is !! to repeat last command

Last edited by RishiPahuja; 04-20-2005 at 01:10 AM..
  #2 (permalink)  
Old 04-20-2005
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
C-Shell: Define
set filec
set history=100
savehist=50
in ~/.cshrc. The shell will complete file names and directories once you hit the ESC key, and history lists the last 100 commands. With !13 command #13 can be re-issued. !$ can be used as a variable for the last word of the former command, like in: mkdir /export/home/demo/test, then cd !$.

gP

Last edited by pressy; 04-20-2005 at 04:08 AM..
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0