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

Re: Beginner's?? Question




Thanks. That indeed does it. Did not know how to use tail here.
Now, how do I use it in a script, such as
$LASTFILE =  ?????
do something using $LASTFILE


LASTFILE=`ls -ltr | tail -1`

where ` is the backward quote (on the ~ (tilde) key on my north american keyboard).

/icebiker



Reply to: