Linux Command Line Mastery · レッスン

ヘルプを探す:man、--help、tldr

マニュアルページ、組み込みのヘルプフラグ、tldr コマンドを使い、ターミナル上で直接答えを見つける方法を学びます。

レッスン 4/413 ステップ

「ヘルプを探す:man、--help、tldr」はCoddyKit上の無料Linux Command Line Masteryレッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはLinux Command Line Mastery学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Linux Command Line Masteryコースには全4レッスンが含まれています。

このレッスンの一部はまだ翻訳されておらず、英語で表示されています。

You Will Forget Commands

Nobody memorizes every flag. The mark of a confident shell user is knowing how to look things up without leaving the terminal.

The man Command

man opens a command’s manual page — purpose, options, and examples. It’s the authoritative reference shipped with the program itself.

man ls

Navigating man Pages

Man pages open in a pager: Space/b to page, /word then n to search, and q to quit.

/recursive   (then press Enter, n to jump matches)

Reading the SYNOPSIS

Read the SYNOPSIS line for usage: square brackets mean optional, ... means repeatable. Decoding it saves real time.

ls [OPTION]... [FILE]...

The --help Flag

For a fast reminder of a command’s flags, use --help (or -h) — quicker than opening the full man page.

grep --help

man Sections

The manual splits into numbered sections: 1 is user commands, 5 is file formats. A name can live in several, like man 5 passwd.

man 5 passwd   # the file format, not the command

Searching for a Command

Forgot the command name? apropos (or man -k) searches manual descriptions by keyword to find it.

apropos compress

The tldr Command

Man pages are dense. tldr shows community-written, example-first summaries — perfect when you just want a working command.

tldr tar

Comparing the Tools

Pick the right tool: man for the full reference, --help for a fast flag reminder, and tldr for copy-paste examples.

Built-in Help for the Shell

Shell built-ins like cd aren’t separate programs, so man cd may fail. In Bash, use help for those.

help cd

Finding Where a Command Lives

Confirm a command first: which shows its path, and type tells you if it’s a builtin, alias, or program.

which python3
type cd

Quick Check

Test your understanding of getting help.

Recap

You can now find answers in the shell: man for full references, --help for quick reminders, apropos to discover, tldr for examples, help for built-ins.

無料で開始

AI チューターと学ぶ Linux Command Line Mastery — 無料

ブラウザでリアルコードを書いて実行し、24/7 の AI チューターから瞬時にサポートを受け、ウェブまたはアプリで続きから学習できます。

コース
12
レッスン
48

よくある質問

「ヘルプを探す:man、--help、tldr」レッスンは無料ですか?

はい。「ヘルプを探す:man、--help、tldr」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Linux Command Line Masteryコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Linux Command Line Masteryコースには全4レッスンが含まれています。

「ヘルプを探す:man、--help、tldr」で何を学びますか?

マニュアルページ、組み込みのヘルプフラグ、tldr コマンドを使い、ターミナル上で直接答えを見つける方法を学びます。 ブラウザで直接実行するハンズオンコードでLinux Command Line Masteryを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

Linux Command Line Masteryを始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのLinux Command Line Masteryは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。

「ヘルプを探す:man、--help、tldr」レッスンにはどのくらい時間がかかりますか?

ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。

このLinux Command Line Masteryレッスンでコードを書いて実行できますか?

はい。すべてのLinux Command Line Masteryレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。

このコースのすべてのレッスン

  1. Linuxシェル入門
  2. 基本操作:`cd`、`ls`、`pwd`
  3. ファイルとディレクトリの管理:`mkdir`、`rm`、`cp`、`mv`
  4. ヘルプを探す:man、--help、tldr
← Linux Command Line Masteryに戻る