Re: shell repeat commands
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 01/24/04
- Previous message: yls177: "shell repeat commands"
- In reply to: yls177: "shell repeat commands"
- Next in thread: yls177: "Re: shell repeat commands"
- Reply: yls177: "Re: shell repeat commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 24 Jan 2004 05:44:34 GMT
In article <c06e4d68.0401231954.3b10bc2b@posting.google.com>,
yls177@hotmail.com (yls177) wrote:
> in ksh, i can do the below
>
> 1) history
> 2) r history-number
>
> but for csh, i cant do the same. are there any similar alternatives?
In csh, the command to re-execute a particular history entry is
!history-number
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Previous message: yls177: "shell repeat commands"
- In reply to: yls177: "shell repeat commands"
- Next in thread: yls177: "Re: shell repeat commands"
- Reply: yls177: "Re: shell repeat commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|