After opening a file using vi
1) You can press Shift + g to go the end of the file
and
2) Press g twice to go to the beginning of the file
NOTE : – g is case-sensitive (Thanks to @Ben for pointing it out)
After opening a file using vi
1) You can press Shift + g to go the end of the file
and
2) Press g twice to go to the beginning of the file
NOTE : – g is case-sensitive (Thanks to @Ben for pointing it out)