Vi editor

Tags
programming

 
Thread Tools Search this Thread
# 1  
Old 11-17-2005
Vi editor

What are the commands to go to the beggining of file and end of file in VI editor
# 2  
Old 11-17-2005
:1 will take you to line 1.
SHIFT + G the end of the file.
This User Gave Thanks to vino For This Post:
dodona (04-27-2018)
# 3  
Old 05-08-2009
To go to line 1:

1 Shift+G

To go to line n:

n Shift+G

To go to the last line:

Shift+G

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
What editor does everyone use? yongho Open Source 401 5 Days Ago 05:58 AM
How can I do this in VI editor? kraljic Shell Programming and Scripting 9 03-09-2013 10:47 PM
Help with vi editor gonchusirsa UNIX for Dummies Questions & Answers 1 01-19-2013 12:55 AM
Vi Editor Sudip_Felipemas UNIX for Dummies Questions & Answers 6 02-02-2012 08:01 AM
Help in Vi Editor gameboy87 Programming 2 09-16-2011 11:05 PM
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen durgaprasadr13 Solaris 1 10-13-2008 08:39 AM
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 6 09-13-2008 03:01 AM
Pasting text in VI editor from a different editor harishmitty UNIX for Dummies Questions & Answers 10 09-10-2008 07:22 PM
VI Editor doyindayo UNIX and Linux Applications 3 08-26-2008 09:14 AM
Which editor to use? Nafanja UNIX for Dummies Questions & Answers 5 11-29-2007 12:58 PM
vi editor MaxK UNIX for Dummies Questions & Answers 2 10-18-2006 11:42 PM
vi editor diptiman Solaris 15 05-21-2006 12:55 PM
best editor annemar UNIX Desktop Questions & Answers 1 10-10-2005 01:05 PM
vi editor alain123456 UNIX for Advanced & Expert Users 3 07-21-2005 12:07 PM
Vi editor ? billy5 Shell Programming and Scripting 2 06-27-2005 05:20 PM