answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How can you print a file while you are in the vi editor?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Who has develop vi editor?

vi file name


Where use vi file editor?

The 'vi' text editor may be used anywhere you want to edit/change/modify/add text to a file.


What is the function of Vi editor?

'vi' is the standard text editor for Unix. You use it to edit content of a text file.


Can you use password in vi editor?

The 'vi' editor is a text editor; it can edit anything that is displayable ASCII text. You can edit a password in the password file using 'vi' (not recommended).


How do you use tar command of UNIX in vi editor?

You don't. The 'tar' command has nothing to do with the 'vi' editor; it creates an archive files and the vi editor modifies the content of a file.


How do you search a word in a file while editing the file 'vi' editor?

Use the forward slash (/) to search in a forward direction, and the question mark (?) to search backwards for any word or word combination.


How do you use echo command to display message in vi editor such as Enter a name?

It seems as though your question has to do with an interactive prompt, which doesn't exist in the 'vi' editor. It is an editor program, and as such is only concerned with text based file changes.


How insert the text in vi editor?

the text is inputed in vi editor by pressing the i key, that mean get the insert permission into vi editor


How do you enter to a file in unix?

Not sure what you mean by enter a file; you could use an editor, such as vi, emacs, nano, pine, etc. to edit it.


How do you edit a file in UNIX?

To edit any file in Unix, use a file editor; there are several, including the venerable 'vi' program or 'vim', pico, nano, etc.


How can you make zero byte files in unix without using vi editor?

Use the 'touch' command. You cannot create a zero byte file with 'vi'.


Is an advanced version of more and provides key commands from the vi text editor to enhance file viewing?

Less