Unix/Linux Go Back    


Programming Post questions about C, C++, Java, SQL, and other programming languages here.

Vi editor

Programming


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 11-17-2005
jazz jazz is offline
Registered User
 
Join Date: Oct 2005
Last Activity: 19 June 2007, 3:14 AM EDT
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Vi editor

What are the commands to go to the beggining of file and end of file in VI editor
Sponsored Links
    #2  
Old Unix and Linux 11-17-2005
vino's Unix or Linux Image
vino vino is offline Forum Advisor  
Supporter (in vino veritas)
 
Join Date: Feb 2005
Last Activity: 8 February 2016, 5:12 PM EST
Location: Sydney, Down Under
Posts: 2,848
Thanks: 0
Thanked 13 Times in 13 Posts
:1 will take you to line 1.
SHIFT + G the end of the file.
Sponsored Links
    #3  
Old Unix and Linux 05-08-2009
sharfah sharfah is offline
Registered User
 
Join Date: Feb 2009
Last Activity: 16 January 2012, 5:07 AM EST
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
To go to line 1:

1 Shift+G

To go to line n:

n Shift+G

To go to the last line:

Shift+G
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ED editor Lakerfan UNIX for Dummies Questions & Answers 2 04-07-2011 08:44 PM
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen durgaprasadr13 Solaris 1 10-13-2008 07:39 AM
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 6 09-13-2008 02:01 AM
Pasting text in VI editor from a different editor harishmitty UNIX for Dummies Questions & Answers 10 09-10-2008 06:22 PM
best editor annemar UNIX Desktop Questions & Answers 1 10-10-2005 12:05 PM



All times are GMT -4. The time now is 12:50 AM.