Want this question answered?
vi file name
The 'vi' text editor may be used anywhere you want to edit/change/modify/add text to a file.
'vi' is the standard text editor for Unix. You use it to edit content of a text file.
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).
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.
Use the forward slash (/) to search in a forward direction, and the question mark (?) to search backwards for any word or word combination.
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.
the text is inputed in vi editor by pressing the i key, that mean get the insert permission into vi editor
Not sure what you mean by enter a file; you could use an editor, such as vi, emacs, nano, pine, etc. to edit it.
To edit any file in Unix, use a file editor; there are several, including the venerable 'vi' program or 'vim', pico, nano, etc.
Use the 'touch' command. You cannot create a zero byte file with 'vi'.
Less