mysql命令列裡的載入更多顯示

來源:互聯網
上載者:User

標籤:方便   integer   less   ssi   設定   for   cmd   repeat   arc   

mysql> pager more
PAGER set to ‘more‘
mysql> pager less
PAGER set to ‘less‘
mysql> nopager
PAGER set to stdout

 

mysql pager的三個狀態

設定

mysql> pager more
PAGER set to ‘more‘

然後進行查詢,我們的結果就不會一真往上閃了,只會顯示第一頁,如果還想看下面的資料,就按斷行符號鍵吧

這樣問題來了,總不能幾十萬行,讓我一行行往下看吧???

這時就要用到協助了,在查詢結果下面出來了

--More--

以後,按一下h
Most commands optionally preceded by integer argument k. Defaults in brackets.
Star (*) indicates argument becomes new default.
-------------------------------------------------------------------------------
<space> Display next k lines of text [current screen size]
z Display next k lines of text [current screen size]*
<return> Display next k lines of text [1]*
d or ctrl-D Scroll k lines [current scroll size, initially 11]*
q or Q or <interrupt> Exit from more
s Skip forward k lines of text [1]
f Skip forward k screenfuls of text [1]
b or ctrl-B Skip backwards k screenfuls of text [1]
‘ Go to place where previous search started
= Display current line number
/<regular expression> Search for kth occurrence of regular expression [1]
n Search for kth occurrence of last r.e [1]
!<cmd> or :!<cmd> Execute <cmd> in a subshell
v Start up /usr/bin/vi at current line
ctrl-L Redraw screen
:n Go to kth next file [1]
:p Go to kth previous file [1]
:f Display current file name and line number
. Repeat previous command
-------------------------------------------------------------------------------
--More--

所有的協助都在這了,不知道的就看一下

感覺還是很方便的

mysql命令列裡的載入更多顯示

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.