You could also try

less filename

Prakash

"G.Sagar" wrote:
> 
> > On Fri, 26 Nov 1999 [EMAIL PROTECTED] wrote:
> > > Hi !
> > >
> > > I want to view some file on the linux file system from perl program.
> > > I should be be able to scroll through the file but at the same time i
> should not
> > > be able to change the contents.
> > > i.e. i want to open the file in read only mode.
> > >
> > > Can u suggest me any linux command ?
> > >
> > > Prachi.
> 
> try : cat <filename> |less
> 
> To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing 
>list button and fill the appropriate information
> and submit. For any other queries contact the ML maintener

-- 
Prakash Advani                  http://www.yoom.com/prakash     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Email: [EMAIL PROTECTED]       ICQ: 4872876
US Fax: +1 (781) 623-8454       Pager:(9122)96223022222
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to