LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-12-2011, 07:34 PM   #1
mei0fei
Member
 
Registered: Jul 2011
Posts: 38

Rep: Reputation: Disabled
how to browse mysql.info?


I open a file named mysql.info :
cat mysql.info | less

it lists some menu, part of the menu like this:
* Menu:

* preface:: Preface and Notes
* introduction:: General Information
* installing:: Installing and Upgrading MySQL
* tutorial:: Tutorial
* programs:: MySQL Programs
* server-administration:: MySQL Server Administration
* backup-and-recovery:: Backup and Recovery
* optimization:: Optimization
* language-structure:: Language Structure
* globalization:: Globalization
* data-types:: Data Types
* functions:: Functions and Operators
* sql-syntax:: SQL Statement Syntax
* storage-engines:: Storage Engines
* ha-overview:: High Availability and Scalability
* replication:: Replication

and i want to jump to "* server-administration::" to , how to do it?

thanks.
 
Old 08-13-2011, 01:07 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
You don't have to use cat; you can straight away use less

To search in less, press '/' and type your search term; next press <enter>

Is that what you're looking for? Else please rephrase the question.
 
Old 08-13-2011, 02:37 AM   #3
mei0fei
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
how to rephrase the question? I only just get the menu item.
 
Old 08-13-2011, 03:48 AM   #4
mei0fei
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
I mean how to repeat the search after I found the first one?
 
Old 08-13-2011, 04:17 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
'/' slash again and press <enter> if you want to search for the same string
 
Old 08-13-2011, 04:51 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
The dime should have fallen slightly earlier. Where did you get the file from? I guess it was a mysql.info.gz that you've extracted.

However those files are supposed to be read with the info command. E.g. info mysql reads and displays the contents of mysql.info.gz

I'm not a regular user of the info command, so not familiar with it. Press <tab> (that is, the tab key) will take you to the menu entries (the cursor will be on the '*' at the beginning of the line. Press <enter> to navigate to (read: display) the selected item.

I don't know how to get back to the main menu.

OK, just found that you can get some help while in info. Simply press 'h' and it shows how to navigate (amongst other things); you can go back by pressing 'u' (up one level).

Last edited by Wim Sturkenboom; 08-13-2011 at 04:53 AM.
 
Old 08-13-2011, 06:20 AM   #7
mei0fei
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Yes, it works usingng "info mysql.info", thank you all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mysql up-gradation not showing in Php info page tanveer Linux - Server 4 01-13-2009 08:20 PM
Slow to browse MySQL database driven website on home server Broady Linux - Newbie 2 11-04-2007 06:47 PM
LAMP(Linux,Apache,MySql,PHP) and other info hamtavs General 1 01-25-2005 03:54 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM
PHP & MySQL getting info from text file neon Programming 1 10-15-2003 12:34 AM


All times are GMT -5. The time now is 11:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration