zmore

系統:Linux
路徑:/usr/bin

共享函式庫:無

主要用途:

顯示被壓縮的文字檔或文字檔於終端機上,被壓縮檔的格式可為.gz .z .Z

zmore 顯示一頁後會暫停,並在螢幕下方顯示--More--,如果使用者壓下Enter,則會繼
續顯示下一行,如果使用者只是壓下空白鍵,則會顯示下一頁


zmore 會去讀取/etc/termcap 來決定終端機屬性和視窗大小,對一個能夠顯示24行的終 端機而言,預設的視窗大小是22行

語法:zmore compressed_file1 [ compressed_file2 ... ]

參數及其意義:此程式不需要參數

使用範例:

假設file1.Z跟file2.Z的內容分別如下:
file1.Z:

This is file1.
This is file1.
This is file1.

file2.Z:

This is file2.
This is file2.
This is file2.

~/>zmore file1 file2
------> file1 <------
This is file1.
This is file1.
This is file1.
--More- (Next file: file2)
------> file2 <------
This is file2.
This is file2.
This is file2.