LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2008, 12:18 AM   #1
Baslingappa.Bhujang
LQ Newbie
 
Registered: Jul 2008
Posts: 10

Rep: Reputation: 0
Query regarding vi editor


Hi All,
Can somebody help me on the following in Linux' 'vi' editor..

1. How to display the position of the cursor(column number) in a row?
2. How to move the cursor to 'n'th column in a row?

Thanks in advance,
Basling.
 
Old 10-17-2008, 12:32 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Sounds like a homework exercise to me: have you read the help file?

eg.
for Q1. Telling where you are
for Q2. 23j 5h puts you on the 5th column of row 23.

Last edited by Simon Bridge; 10-17-2008 at 12:48 AM.
 
Old 10-20-2008, 12:55 AM   #3
Baslingappa.Bhujang
LQ Newbie
 
Registered: Jul 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks Simon,
Your reply really helped me

Thanks,
Basling
 
Old 10-20-2008, 07:24 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Cool - now go find someone to help
Have a look at the zero reply threads. Many of them can be solved with a quick google. You may learn something too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
interesting MySQL query/view query :s mjh Programming 3 03-25-2008 07:30 AM
mysql use output of one query in another query secretlydead Programming 2 11-19-2007 01:25 AM
help with mysql query: return nth rows in query hawarden Programming 2 07-31-2006 06:36 PM
query saurabhparihar Linux - Newbie 2 05-21-2005 02:00 PM
X -query pacman23 Linux - Software 2 07-22-2004 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration