Computer Science - Linux - Discussion

Discussion :: Linux - Section 1 (Q.No.4)

4. 

What command is used with vi editor to delete a single character?

[A]. x
[B]. y
[C]. a
[D]. z
[E]. None of the above

Answer: Option A

Explanation:

No answer description available for this question.

Poonamchandra Dewangan said: (Sep 24, 2013)  
Can any one tell me the vi editor in brief?

Priyatosh said: (Oct 24, 2013)  
vi editor is one of editor in linux environment. vim is its newer virsion. so we can use vi or vim as an editor.

Pa1 said: (Nov 2, 2013)  
vi is the text editor, its a screen editor which shows how much of the file as it can fit on the screen.

Mahesh Kethapaga said: (Feb 10, 2017)  
Please, can anyone tell me, hot to use this command?

Negi said: (Mar 14, 2017)  
When should we use y?

Buganda said: (Oct 11, 2017)  
Please someone can tell me how to use the vi or vim editor command?

Hema said: (Oct 22, 2017)  
Why X is used? Can anyone justify this please?

Deepthi Palagati said: (Jan 4, 2018)  
vi command is used to open and create a file.

on the command prompt, by typing vi filename.c we can either create a file or open.

Anupam Thakur said: (Feb 4, 2018)  
x delete single character under the cursor.
Nx delete N characters, starting with character under cursor
dw delete the single word beginning with a character under the cursor
dNw delete N words beginning with character under cursor;

e.g., d5w deletes 5 words
D delete the remainder of the line, starting with current cursor position
* dd delete entire current line
Ndd or dNd delete N lines, beginning with the current line;
e.g., 5dd deletes 5 lines

LAXMI said: (Apr 9, 2019)  
Anyone tell me that why we can use X for a single vi editor character?

Nikamshubham said: (Apr 3, 2020)  
Just type vi file_name to create the file and vi is the editor.

Sumanth said: (Jan 7, 2022)  
Vi Or vim? Please explain me.

Sachin Attri said: (Mar 11, 2022)  
vim latest version and vi show all contain. importance of line does not matter accordingly.

vim views us all heading in colourful words it means importance heading where we need to know everything.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.