Re: shell repeat commands

From: yls177 (yls177_at_hotmail.com)
Date: 01/26/04

  • Next message: Devdas Bhagat: "Re: Serverside spam filter"
    Date: 25 Jan 2004 19:47:04 -0800
    
    

    Barry Margolin <barmar@alum.mit.edu> wrote in message news:<barmar-CB6AA0.00443324012004@netnews.comcast.net>...
    > 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

    thanks...

    what i initially did is a ! history-number


  • Next message: Devdas Bhagat: "Re: Serverside spam filter"

    Relevant Pages

    • shell repeat commands
      ... in ksh, ... but for csh, i cant do the same. ...
      (comp.unix.admin)
    • Re: shell repeat commands
      ... i cant do the same. ... In csh, the command to re-execute a particular history entry is ...
      (comp.unix.admin)
    • Re: bash vs zsh
      ... > bash) features added. ... zsh is definitely a Bourne like shell. ... features from ksh, csh, rc and many of its own. ...
      (comp.unix.shell)
    • Re: Emacs and MacOS X
      ... I just tried ksh and csh and ... apple:~ mac$ csh ... mac% exit ...
      (comp.emacs)
    • Re: csh syntax for embedded command substitution??
      ... > echo `ls $` ... What is the csh alternative for embedded ... > command substitution syntax that is available in ksh? ...
      (comp.unix.shell)