Exforsys

Online Training

Any Other Option

This is a discussion on Any Other Option within the Linux forums, part of the Operating Systems category; I am working with Linux Operating system.One of the option I know for viewing contents of the file is ...


Go Back   Exforsys > Operating Systems > Linux

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2007, 08:47 AM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
Question Any Other Option

I am working with Linux Operating system.One of the option I know for viewing contents of the file is cat filename. Is there any other option or method to achieve the same?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-29-2007, 12:50 PM
Senior Member
 
Join Date: Apr 2006
Posts: 139
Ralph is on a distinguished road
In addition to cat command the following Commands namely more, and less let you view the contents of a text file from the command line, without having to invoke an editor.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-29-2007, 01:17 PM
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
Command cat outputs all lines in a file at once. You may prefer to use more and less because they both output file contents one screen at a time. Less is an enhanced version of more that allows key commands from the vi text editor to enhance file viewing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
What is the option Ralph MySQL 1 04-28-2007 06:25 AM
Suggest a Option Rahulbatra Java 1 02-02-2007 09:05 AM
Suggest Best Option Ralph SAP R/3 2 01-02-2007 08:24 AM
What is the Option Angela Shell Programming 0 12-08-2006 02:50 AM
Compiler Options encoder COBOL 0 05-07-2006 10:43 PM


All times are GMT -4. The time now is 11:35 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.