1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Mac】manよりわかりやすいマニュアルを表示する方法

Last updated at Posted at 2025-01-22

tldrコマンドを使用するとmanコマンドよりわかりやすいマニュアルが表示されます。

インストール

以下のコマンドでHomebrewを使用してインストールします。

brew install tlrc

マニュアルを表示する

lsのマニュアルを表示するには以下のように実行します。

$ tldr ls
  ls

  List directory contents.
  More information: https://www.gnu.org/software/coreutils/manual/html_node/ls-invocation.html.

  List files one per line:

    ls -1

  List [a]ll files, including hidden files:

    ls -a

  List files with a trailing symbol to indicate file type (directory/, symbolic_link@, executable*, ...):

    ls -F

  List [a]ll files in [l]ong format (permissions, ownership, size, and modification date):

    ls -la

  List files in [l]ong format with size displayed using [h]uman-readable units (KiB, MiB, GiB):

    ls -lh

  List files in [l]ong format, sorted by [S]ize (descending) [R]ecursively:

    ls -lSR

  List files in [l]ong format, sorted by [t]ime the file was modified and in [r]everse order (oldest first):

    ls -ltr

  Only list [d]irectories:

    ls -d */
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?