Computer Science - Linux - Discussion

Discussion Forum : Linux - Section 1 (Q.No. 4)
4.
What command is used with vi editor to delete a single character?
x
y
a
z
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 1 of 2.

Anupam Thakur said:   8 years ago
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
(2)

Poonamchandra Dewangan said:   1 decade ago
Can any one tell me the vi editor in brief?

Priyatosh said:   1 decade ago
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:   1 decade ago
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:   9 years ago
Please, can anyone tell me, hot to use this command?

Negi said:   8 years ago
When should we use y?

Buganda said:   8 years ago
Please someone can tell me how to use the vi or vim editor command?

Hema said:   8 years ago
Why X is used? Can anyone justify this please?

Deepthi palagati said:   8 years ago
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.

LAXMI said:   6 years ago
Anyone tell me that why we can use X for a single vi editor character?


Post your comments here:

Your comments will be displayed after verification.