Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Operating Systems > Unix > Unix Commands

Unix Commands Unix Commands Interview Questions, Learn by sharing Unix Commands Interview Questions asked in various Companies, Get Career advices, Interview Procedures from Unix Commands experts, Post asked Unix Commands Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 02:57 PM
Senior Member
 
Join Date: Feb 2008
Posts: 256
Default How does the user view the contents of a text file in UNIX




How does the user view the contents of a text file in UNIX?
Reply With Quote
  #2 (permalink)  
Old 06-09-2008, 08:27 AM
Member
 
Join Date: Jun 2008
Posts: 38
Default

Command : 'cat filename'
Reply With Quote
  #3 (permalink)  
Old 06-25-2008, 09:27 AM
Member
 
Join Date: May 2008
Location: Bangalore
Posts: 32
Send a message via Yahoo to pavanb
Default

We can view the contents of text file using either of the following commands

cat filename - Using this command we can onle view the contents but not modify it

vi filename - Using this comman, we can view as well as modify the contents
Reply With Quote
Reply

Tags
operating systems, unix commands questions, unix interview questions

Thread Tools
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On