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?
Discussion:
13 comments Page 1 of 2.
Sachin attri said:
1 year ago
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.
vim views us all heading in colourful words it means importance heading where we need to know everything.
Sumanth said:
1 year ago
Vi Or vim? Please explain me.
Nikamshubham said:
3 years ago
Just type vi file_name to create the file and vi is the editor.
LAXMI said:
4 years ago
Anyone tell me that why we can use X for a single vi editor character?
Anupam Thakur said:
5 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
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
Deepthi palagati said:
5 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.
on the command prompt, by typing vi filename.c we can either create a file or open.
Hema said:
5 years ago
Why X is used? Can anyone justify this please?
Buganda said:
5 years ago
Please someone can tell me how to use the vi or vim editor command?
Negi said:
6 years ago
When should we use y?
Mahesh kethapaga said:
6 years ago
Please, can anyone tell me, hot to use this command?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers