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 does whoami do?

0 Answers  


What is a shell command in linux?

0 Answers  


What is c shell in linux?

0 Answers  


What is 1st / 2nd / 3rd / 4th generation processor?

0 Answers  


List the basic components of linux?

0 Answers  


How to connect to a remote server via ssh?

0 Answers  


Which antivirus is used in linux?

0 Answers  


In Linux OS, what is the file server?

2 Answers  


Can linux get hacked?

0 Answers  


How to test if a zip file is corrupted in Linux?

0 Answers  


Is arch linux good for programming?

0 Answers  


Explain the term gui?

0 Answers  


Categories