aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Unix/Linux Commands Quiz
  • what is the command to delete lines in 'vi editor'?
Multiple choice general knowledge

what is the command to delete lines in 'vi editor'?

  1. ll

  2. dl

  3. dw

  4. dd

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In vi editor, 'dd' deletes the current line. Each 'd' in the command stands for delete - typing it twice deletes the entire line at the cursor position.

Keep practicing — related questions

  • Command to delete a line inside vi editor
  • Which of the following options delete a current line in vi editor?
  • Which of the following commands in vi editor is used to delete upto the end of a line?
  • Which command is used to delete single character in a command mode of vi editor?
  • Which of these commands finds all lines on which the word "Linux" occurs and then deletes them in vi editor
  • Which of these commands finds all lines on which the word "Linux" occurs and then deletes them in vi editor
  • What’s the Command in VI Editor to take you to the End of the Line?
  • Which command will be used with vi editor to append text at the end of line?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy