0Pricing
Linux Networking & TCP/IP for Developers · レッスン

基本的なネットワークコマンド

`ip`、`ping`、`traceroute`、`netstat`などの基本的なコマンドラインツールを使って、ネットワーク接続を調査・診断する方法を学びます。

「基本的なネットワークコマンド」はCoddyKit上の無料Linux Networking & TCP/IP for Developersレッスンです。 これはレッスン2/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはLinux Networking & TCP/IP for Developers学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Linux Networking & TCP/IP for Developersコースには全4レッスンが含まれています。

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

Basic Network Tools Intro

Time for the command line. You'll learn ping, ip, traceroute, and netstat — the core tools for inspecting and diagnosing connectivity.

Ping: Check Host Reachability

ping is your first reachability check: it sends ICMP echo requests and times the replies, telling you if a host is up and how fast it responds.

Ping Command in Action

Just type ping plus an IP or hostname. The -c flag limits how many packets you send — run this to try it.

ping -c 4 google.com

IP: The Modern Network Tool

The ip command is the modern replacement for older tools like ifconfig. It views and configures interfaces, addresses, and routes.

IP: Display Addresses

Run ip addr show (or ip a) to list every interface with its MAC, IPv4/IPv6 addresses, and state — your snapshot of what's connected.

ip addr show

IP: View Routing Table

The routing table tells Linux where to send traffic. Inspect it with ip route show (or ip r) to see routes and gateways.

ip route show

Traceroute: Map the Path

traceroute maps the path packets take to a host, revealing each router (hop) and its timing — great for pinpointing where delays creep in.

Traceroute in Action

traceroute sends packets with rising TTL values. Each hop decrements TTL; when it hits zero, that router replies and reveals itself.

traceroute google.com

Netstat: Network Statistics

netstat shows network statistics — active connections, routing tables, and interface stats. Handy for seeing which ports are open.

Quick Check: Identify the Command

You're trying to quickly determine if your Linux machine has an internet connection by checking if a remote server is online and responding. Which command would you use?

Recap: Essential Network Tools

Recap of your toolkit: ping checks reachability, ip shows interfaces and routes, traceroute maps the path, and netstat lists connections and ports.

よくある質問

「基本的なネットワークコマンド」レッスンは無料ですか?

はい。「基本的なネットワークコマンド」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Linux Networking & TCP/IP for Developersコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Linux Networking & TCP/IP for Developersコースには全4レッスンが含まれています。

「基本的なネットワークコマンド」で何を学びますか?

`ip`、`ping`、`traceroute`、`netstat`などの基本的なコマンドラインツールを使って、ネットワーク接続を調査・診断する方法を学びます。 ブラウザで直接実行するハンズオンコードでLinux Networking & TCP/IP for Developersを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

Linux Networking & TCP/IP for Developersを始めるのに経験は必要ですか?

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

「基本的なネットワークコマンド」レッスンにはどのくらい時間がかかりますか?

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

このLinux Networking & TCP/IP for Developersレッスンでコードを書いて実行できますか?

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

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

  1. Linuxネットワークの基礎
  2. 基本的なネットワークコマンド
  3. ネットワークインターフェースとIP
  4. ネットワーク接続とソケットの調査
← Linux Networking & TCP/IP for Developersに戻る