How can you view a file?

Answers were Sorted based on User's Feedback



How can you view a file?..

Answer / gokul pradeep

cat
vi

Is This Answer Correct ?    5 Yes 1 No

How can you view a file?..

Answer / sampath

to know the content use 'cat' command
to the file type use 'file' command
to modify use vi,vim,nano,gedit editors

Is This Answer Correct ?    4 Yes 0 No

How can you view a file?..

Answer / amit

for only read the content in the file use view command

ex: view /etc/passwd

Is This Answer Correct ?    1 Yes 0 No

How can you view a file?..

Answer / rahul gupta

We can view a file by many commands.
cat
more
less
vi ( but it is Editor)

Is This Answer Correct ?    0 Yes 0 No

How can you view a file?..

Answer / susheel narayan singh hcl

To view file in linux
there are so many cmd
like -

vi,vim,gvim,nano,gedit,view

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

What is the advantage of linux operating system?

0 Answers  


Is linux unix based?

0 Answers  


Why is mutex needed?

0 Answers  


What would you use to view contents of a large error log file?

0 Answers  


How can you view a file?

5 Answers  






Is linux user friendly?

0 Answers  


Your default umask is 002. What does this mean?

0 Answers  


What does whoami do?

0 Answers  


How you can create a folder using terminal?

0 Answers  


How do you check if a particular service in running?

0 Answers  


Why we use red hat linux?

0 Answers  


What is the best linux book for beginners?

0 Answers  


Categories