For faster navigation, this Iframe is preloading the Wikiwand page for more (UNIX).

more (UNIX)

この記事は検証可能参考文献や出典が全く示されていないか、不十分です。 出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)出典検索?"More" UNIX – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL (2020年12月)
moreでログファイルを表示した例

more(モア)は、Unix系のシステムにおいて、テキストファイルの内容を閲覧するために用いられるプログラムである。この種のプログラムはページャと呼ばれる。moreは非常に原始的なページャで、もともと[いつ?]表示領域を前方向に進めることしかできなかった。しかし、最近[いつ?]の実装では後方向へのスクロールも可能になっている。

歴史

[編集]

moreコマンドは1978年カリフォルニア大学バークレー校のDaniel Halbertによって書かれた。最初に3.0BSDに含められ、それ以降UNIXシステムの標準プログラムとなった。 MS-DOSにもmoreコマンドのクローンが存在する。

使用法

[編集]

構文は次の通り。

more [options] [file_name]

ファイル名が指定されなかった場合、more標準入力を使用する。

moreコマンドは、入力が与えられると現在のスクリーンに表示できるだけの量のテキストを表示し、ユーザからの入力を待機する。

入力にフォームフィード(改ページ; ^L)が含まれていた場合も、テキストの量に関わらずその位置で待機する。

この際、スクリーンの左下隅に「--More--」という文字と現在の位置を表すパーセンテージが表示される。

ファイルの終端に到達すると、moreは終了する。最も一般的なスクロール方法はEnterキー、Spaceキーである。

それぞれ、行単位、画面単位で表示領域を進める。

使用方法の詳細はmanpageを参照([1])。

参照

[編集]

外部リンク

[編集]
  • Manpage of MORE JM Project(日本語)
  • more(1) man page(SunOS リファレンスマニュアル)
  • more(1) man page(HP-UX リファレンス)
{{bottomLinkPreText}} {{bottomLinkText}}
more (UNIX)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?