vi-editor editing Tips & Tricks Delete operations #Linux Tip #pavandevarakonda #vieditor #education

Become strong in #Linux ✂Optimizer by using #vi-editor, you can make difference, booting up with speed on your daily works in #Developing or #Editing #automation scripts. Master the #fundamentals to have #deepDive into #cli-world. It’s simple #bitesize video to spend minimum #2mins for this #learning video.

Let’s learn all possible delete options in vi/vim.

Don’t be afraid of using delete operation, because it’s just editing. We can do undo and redo with simple commands.

💾 u for undo the last command
🔂 . for redo the last command

Deletion operations

✂ x deletes a char from current cursor position
✂ X deletes a before char from current cursor position
✂ dd deletes current line where cursor exists

✂ dw deletes word from cursor position
✂ de Deletes the word to the end of the current line.
✂ db Deletes the word to the beginning of the current line
✂ dd Deletes current line

✂ d0 delete from cursor to begin of line
✂ d$ delete from cursor till end of the line
✂ D deletes current cursor to end of line
✂ dG deletes lines from cursor to end of file

#byteSizeVideo #TipsNTricks #TipsTricks
#LearnLikePro #DevOps #DevSecOps #SRE #ROS #ROS2 #Ubuntu #RHEL #Tips #Tricks #TipsnTricksVieditor #AutomationGuru
#PavanDevarakonda #shellscripting #tutorial #freevideotutorial #learningvideo #videotutorial #supercharge your #PersonalGrowth with this
#ContinuousLearning #linkedinvideo