Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

delete line in vi or vim

# navigate to line and type
dd
Comment

delete all lines in vi

#in command mode
gg #takes you to the first line
dG #deletes all 
Comment

delete whole line in vi

#In vi command mode (press ESC)
dd #Deletes the currently selected line
#To save the document in command mode press shift + ZZ
Comment

PREVIOUS NEXT
Code Example
Shell :: difference between git remote and git clone 
Shell :: how to ignore .idea in Github 
Shell :: some github markup badges 
Shell :: Apache2 Ubuntu Default Page 
Shell :: sudo yum uninstall 
Shell :: import bjson mongodb 
Shell :: float calculation bash 
Shell :: list files recursively 
Shell :: Why double tapping icon doesnt minimize in ubuntu 
Shell :: command to build docker file 
Shell :: UnicodeDecodeError 
Shell :: ignore .idea in gitignore 
Shell :: realtek 8852 
Shell :: what does worktree prune do 
Shell :: Use R markdown in github README 
Shell :: cli50 install with pip3 
Shell :: how to uninstall app from android phone programmatically 
Shell :: rename files linux 
Shell :: fetch from remote branch 
Shell :: fold all lines in vim 
Shell :: docker container logs host path 
Shell :: openstack show ports 
Shell :: github claims I have a large file that 
Shell :: cmd to find find file 
Shell :: linux add icon to .desktop file 
Shell :: how to make maven clean install faster in eclipse 
Shell :: configurar chave ssh gitlab 
Shell :: git rename other branch 
Shell :: rmdir multiple directories 
Shell :: jenkins download 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =