[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a quick Q: how to replace the value quickly



On Sat, Sep 10, 2011 at 12:03:06AM +0800, lina wrote:
> Hi,
> 
> suppose there is a variable in some bash like i, so in some process I used $i
> so lots,
> 
> but I wanna test one long command on terminal,
> 
> which as like
> run -a $i.pdf -b $i.pdf -c $i.pdf -d $i.pdf,
> 
> how can I change $i very quickly except one by one to
> run -a 1.pdf -b 1.pdf -c 1.pdf -d 1.pdf,
> 
> Thanks ahead for any suggestions,

export i=whatever_you_want_here


Reply to: