{"id":1461,"date":"2025-01-12T09:04:00","date_gmt":"2025-01-12T00:04:00","guid":{"rendered":"https:\/\/ccna-curriculum.tech-village.co.jp\/?p=1461"},"modified":"2026-06-01T21:14:27","modified_gmt":"2026-06-01T12:14:27","slug":"linux%e5%9f%ba%e7%a4%8e-l1%ef%bc%9alinux%e3%81%a8%e3%81%af%e3%83%bbcli%e3%81%ab%e8%a7%a6%e3%82%8c%e3%82%8b-2","status":"publish","type":"post","link":"https:\/\/ccna-curriculum.tech-village.co.jp\/?p=1461","title":{"rendered":"1\uff1aLinux\u3068\u306f\u30fbCLI\u306b\u89e6\u308c\u308b"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u73fe\u5834\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u64cd\u4f5c\u3084\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u306b&nbsp;<strong>Linux<\/strong>&nbsp;\u3068&nbsp;<strong>CLI\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\uff09<\/strong>&nbsp;\u304c\u5f53\u305f\u308a\u524d\u306e\u3088\u3046\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<strong>Linux\uff08\u30ea\u30ca\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u30d1\u30bd\u30b3\u30f3\u3084\u30b5\u30fc\u30d0\u30fc\u3092\u52d5\u304b\u3059\u305f\u3081\u306e OS\uff08\u30aa\u30fc\u30a8\u30b9\uff0f\u57fa\u672c\u30bd\u30d5\u30c8\uff09\u306e\u4e00\u3064<\/strong>&nbsp;\u3067\u3059\u3002OS \u3068\u306f\u3001Windows \u3084 Mac \u306e\u3088\u3046\u306b\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u5168\u4f53\u3092\u52d5\u304b\u3059\u571f\u53f0\u3068\u306a\u308b\u57fa\u672c\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u3053\u3068\u3067\u3059\u3002Linux \u306f\u305d\u306e\u4ef2\u9593\u3067\u3001\u4e16\u754c\u4e2d\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u306a\u304a&nbsp;<strong>\u30b5\u30fc\u30d0\u30fc\u3068\u306f\u3001Web \u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u306a\u3069\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u3001\u4ed6\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u63d0\u4f9b\u3057\u7d9a\u3051\u308b\u5f79\u5272\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf<\/strong>&nbsp;\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u666e\u6bb5\u4f7f\u3063\u3066\u3044\u308b\u30de\u30a6\u30b9\u64cd\u4f5c\u3068\u306f\u9055\u3044\u3001Linux \u306e\u73fe\u5834\u3067\u306f\u6587\u5b57\uff08\u30b3\u30de\u30f3\u30c9\uff09\u3067\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u6307\u793a\u3092\u51fa\u3059\u3053\u3068\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u521d\u306f\u300c\u9ed2\u3044\u753b\u9762\u306b\u6587\u5b57\u3092\u6253\u3064\u306a\u3093\u3066\u96e3\u3057\u305d\u3046\u300d\u3068\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u899a\u3048\u308b\u3079\u304d\u3053\u3068\u306f\u5c11\u3057\u305a\u3064\u3067\u5927\u4e08\u592b\u3067\u3059\u3002\u3053\u306e\u56de\u3067\u306f\u3001Linux\u30fbCLI \u3068\u306f\u4f55\u304b\u3092\u7406\u89e3\u3057\u3001\u5b9f\u969b\u306b\u81ea\u5206\u306e\u624b\u3067\u521d\u3081\u3066\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3068\u3053\u308d\u307e\u3067\u3092\u4f53\u9a13\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">1. GUI\u3068CLI\u306e\u9055\u3044<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u79c1\u305f\u3061\u304c\u666e\u6bb5\u30d1\u30bd\u30b3\u30f3\u3092\u4f7f\u3046\u3068\u304d\u3001\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u308a\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u308a\u3057\u3066\u64cd\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092&nbsp;<strong>GUI\uff08\u30b8\u30fc\u30e6\u30fc\u30a2\u30a4\uff09\uff1d\u753b\u9762\u306e\u898b\u305f\u76ee\u3092\u898b\u306a\u304c\u3089\u30de\u30a6\u30b9\u3067\u64cd\u4f5c\u3059\u308b\u65b9\u5f0f<\/strong>&nbsp;\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65b9\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u591a\u7528\u3059\u308b\u306e\u304c&nbsp;<strong>CLI\uff08\u30b7\u30fc\u30a8\u30eb\u30a2\u30a4\uff09\uff1d\u6587\u5b57\uff08\u30b3\u30de\u30f3\u30c9\uff09\u3092\u6253\u3061\u8fbc\u3093\u3067\u64cd\u4f5c\u3059\u308b\u65b9\u5f0f<\/strong>&nbsp;\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u9805\u76ee<\/th><th>GUI\uff08\u753b\u9762\u64cd\u4f5c\uff09<\/th><th>CLI\uff08\u30b3\u30de\u30f3\u30c9\u64cd\u4f5c\uff09<\/th><\/tr><\/thead><tbody><tr><td>\u64cd\u4f5c\u65b9\u6cd5<\/td><td>\u30de\u30a6\u30b9\u3067\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af<\/td><td>\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u6587\u5b57\u3092\u5165\u529b<\/td><\/tr><tr><td>\u308f\u304b\u308a\u3084\u3059\u3055<\/td><td>\u898b\u305f\u76ee\u3067\u76f4\u611f\u7684\u306b\u308f\u304b\u308b<\/td><td>\u6700\u521d\u306f\u6163\u308c\u304c\u5fc5\u8981<\/td><\/tr><tr><td>\u901f\u3055\u30fb\u81ea\u52d5\u5316<\/td><td>1\u3064\u305a\u3064\u624b\u4f5c\u696d<\/td><td>\u307e\u3068\u3081\u3066\u9ad8\u901f\u30fb\u81ea\u52d5\u5316\u304c\u5f97\u610f<\/td><\/tr><tr><td>\u4e3b\u306a\u4f7f\u3046\u5834\u9762<\/td><td>\u666e\u6bb5\u306e\u30d1\u30bd\u30b3\u30f3\u4f5c\u696d<\/td><td>\u30b5\u30fc\u30d0\u30fc\u64cd\u4f5c\u30fb\u958b\u767a\u4f5c\u696d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30a7\u30eb\u3068\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">CLI \u3067\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3068\u304d\u3001\u305d\u306e\u6587\u5b57\u3092\u53d7\u3051\u53d6\u3063\u3066\u5b9f\u884c\u3057\u3066\u304f\u308c\u308b\u76f8\u624b\u304c\u3044\u307e\u3059\u3002\u305d\u308c\u304c&nbsp;<strong>\u30b7\u30a7\u30eb\uff08shell\uff09\uff1d\u3042\u306a\u305f\u304c\u6253\u3063\u305f\u547d\u4ee4\u3092\u53d7\u3051\u4ed8\u3051\u3066\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u4f1d\u3048\u308b\u300c\u7a93\u53e3\u300d<\/strong>&nbsp;\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ec\u30b9\u30c8\u30e9\u30f3\u306b\u4f8b\u3048\u308b\u3068\u3001\u3042\u306a\u305f\uff08\u6ce8\u6587\u3059\u308b\u4eba\uff09\u3068\u30ad\u30c3\u30c1\u30f3\uff08\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u672c\u4f53\uff09\u306e\u9593\u306b\u7acb\u3064\u300c\u5e97\u54e1\u3055\u3093\u300d\u304c\u30b7\u30a7\u30eb\u3067\u3059\u3002\u3042\u306a\u305f\u304c\u300c\u3053\u308c\u3092\u3084\u3063\u3066\u300d\u3068\u547d\u4ee4\uff08\u30b3\u30de\u30f3\u30c9\uff09\u3092\u4f1d\u3048\u308b\u3068\u3001\u30b7\u30a7\u30eb\u304c\u30ad\u30c3\u30c1\u30f3\u306b\u4f1d\u3048\u3001\u7d50\u679c\u3092\u6301\u3063\u3066\u623b\u3063\u3066\u304d\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Linux \u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u30b7\u30a7\u30eb\u304c&nbsp;<strong>bash\uff08\u30d0\u30c3\u30b7\u30e5\uff09<\/strong>&nbsp;\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u6253\u3064\u30b3\u30de\u30f3\u30c9\u306f\u3001\u3053\u306e bash \u3068\u3044\u3046\u7a93\u53e3\u304c\u53d7\u3051\u53d6\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u5b66\u7fd2\u74b0\u5883\u3092\u7528\u610f\u3059\u308b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u306b\u306f\u3001<strong>\u7aef\u672b\uff08\u30bf\u30fc\u30df\u30ca\u30eb\uff09\uff1d\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u305f\u3081\u306e\u753b\u9762\uff08\u30a2\u30d7\u30ea\uff09<\/strong>&nbsp;\u3092\u958b\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002OS \u306b\u3088\u3063\u3066\u6e96\u5099\u306e\u4ed5\u65b9\u304c\u9055\u3046\u306e\u3067\u3001\u81ea\u5206\u306e\u30d1\u30bd\u30b3\u30f3\u306b\u5408\u308f\u305b\u3066\u9032\u3081\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>OS<\/th><th>\u5fc5\u8981\u306a\u6e96\u5099<\/th><th>\u7aef\u672b\u306e\u958b\u304d\u65b9<\/th><\/tr><\/thead><tbody><tr><td>Mac<\/td><td>\u4e0d\u8981\uff08\u6700\u521d\u304b\u3089\u4f7f\u3048\u308b\uff09<\/td><td>\u300c\u30bf\u30fc\u30df\u30ca\u30eb\u300d\u30a2\u30d7\u30ea\u3092\u958b\u304f<\/td><\/tr><tr><td>Windows<\/td><td>WSL2 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981<\/td><td>WSL\uff08Ubuntu\uff09\u3092\u958b\u304f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Mac \u306e\u5834\u5408\uff1a\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u305d\u306e\u307e\u307e<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Mac \u306f\u4e2d\u8eab\u304c Linux \u3068\u540c\u3058 Unix \u7cfb\u306e\u4ed5\u7d44\u307f\u306e\u305f\u3081\u3001\u7279\u5225\u306a\u6e96\u5099\u306f\u4e0d\u8981\u3067\u3059\u3002<strong>Unix\uff08\u30e6\u30cb\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001Linux \u306e\u6e90\u6d41\u306b\u306a\u3063\u305f\u6b74\u53f2\u3042\u308bOS\u306e\u7cfb\u7d71<\/strong>&nbsp;\u3067\u3001Mac \u3082\u3053\u306e Unix \u7cfb\u306e\u4ef2\u9593\u3067\u3059\u3002\u305d\u306e\u305f\u3081 Mac \u306f Linux \u3068\u64cd\u4f5c\u611f\u304c\u8fd1\u304f\u3001\u540c\u3058\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u304c\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308b\u300c\u30bf\u30fc\u30df\u30ca\u30eb\u300d\u30a2\u30d7\u30ea\u3092\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>command\uff08\u2318\uff09\uff0b \u30b9\u30da\u30fc\u30b9<\/code>&nbsp;\u3092\u62bc\u3057\u3066 Spotlight \u691c\u7d22\u3092\u958b\u304f<\/li>\n\n\n\n<li><code>\u30bf\u30fc\u30df\u30ca\u30eb<\/code>&nbsp;\u3068\u5165\u529b\u3057\u3066 Enter<\/li>\n\n\n\n<li>\u300c\u30bf\u30fc\u30df\u30ca\u30eb\u300d\u30a2\u30d7\u30ea\u304c\u958b\u3051\u3070OK<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\uff08\u307e\u305f\u306f&nbsp;<code>Finder \u2192 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 \u2192 \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3 \u2192 \u30bf\u30fc\u30df\u30ca\u30eb<\/code>&nbsp;\u304b\u3089\u3082\u958b\u3051\u307e\u3059\uff09<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Windows \u306e\u5834\u5408\uff1aWSL2 \u3092\u4f7f\u3046<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Windows \u306f\u305d\u306e\u307e\u307e\u3060\u3068 Linux \u306e\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u307e\u305b\u3093\u3002\u305d\u3053\u3067&nbsp;<strong>WSL2\uff08\u30c0\u30d6\u30eb\u30a8\u30b9\u30a8\u30eb\u30fb\u30c4\u30fc\uff09\uff1dWindows \u306e\u4e2d\u3067 Linux \u3092\u52d5\u304b\u3059\u4ed5\u7d44\u307f<\/strong>&nbsp;\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u5165\u308c\u308b\u3068\u3001<strong>Ubuntu\uff08\u30a6\u30d6\u30f3\u30c8\u30a5\uff09\uff1dLinux \u306e\u4e2d\u3067\u3082\u7279\u306b\u521d\u5fc3\u8005\u306b\u4eba\u6c17\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u7a2e\u985e<\/strong>&nbsp;\u304c\u6a19\u6e96\u3067\u5165\u308a\u3001Windows \u306e\u4e2d\u3067 Linux \u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u30b9\u30bf\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u3092\u53f3\u30af\u30ea\u30c3\u30af \u2192\u300c\u30bf\u30fc\u30df\u30ca\u30eb\uff08\u7ba1\u7406\u8005\uff09\u300d\u307e\u305f\u306f\u300cPowerShell\uff08\u7ba1\u7406\u8005\uff09\u300d\u3092\u958b\u304f<\/li>\n\n\n\n<li>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3063\u3066 Enter\uff08Linux \u306e\u4e00\u7a2e\u3067\u3042\u308b Ubuntu \u304c\u5165\u308a\u307e\u3059\uff09<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>wsl --install<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u30d1\u30bd\u30b3\u30f3\u3092\u518d\u8d77\u52d5\u3059\u308b<\/li>\n\n\n\n<li>\u518d\u8d77\u52d5\u5f8c\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u5165\u529b\u3059\u308b<\/li>\n\n\n\n<li>\u4ee5\u5f8c\u306f\u30b9\u30bf\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cUbuntu\u300d\u3092\u958b\u3051\u3070 Linux \u306e\u7aef\u672b\u304c\u4f7f\u3048\u307e\u3059<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>\u6ce8\u610f\uff1a<\/strong>\u00a0WSL2 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f\u7ba1\u7406\u8005\u6a29\u9650\u3068\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u521d\u3081\u3066\u306e\u30b3\u30de\u30f3\u30c9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u7aef\u672b\u3092\u958b\u304f\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u6587\u5b57\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>username@pc:~$<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u884c\u3092&nbsp;<strong>\u30d7\u30ed\u30f3\u30d7\u30c8<\/strong>&nbsp;\u3068\u547c\u3073\u307e\u3059\u3002\u300c\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u300d\u3068\u3044\u3046\u5408\u56f3\u3067\u3059\u3002\u8aad\u307f\u65b9\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u8868\u793a<\/th><th>\u610f\u5473<\/th><\/tr><\/thead><tbody><tr><td><code>username<\/code><\/td><td>\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u540d<\/td><\/tr><tr><td><code>@pc<\/code><\/td><td>\u4f7f\u3063\u3066\u3044\u308b\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u540d\u524d<\/td><\/tr><tr><td><code>~<\/code><\/td><td>\u4eca\u3044\u308b\u5834\u6240\uff08<code>~<\/code>&nbsp;\u306f\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff1d\u81ea\u5206\u306e\u4f5c\u696d\u90e8\u5c4b\uff09 \u203b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff1d\u30d5\u30a9\u30eb\u30c0\u306e\u3053\u3068<\/td><\/tr><tr><td><code>$<\/code><\/td><td>\u3053\u3053\u304b\u3089\u5f8c\u308d\u306b\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3001\u3068\u3044\u3046\u8a18\u53f7<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u4ee5\u964d\u3001\u672c\u6587\u3067\u306f\u5165\u529b\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u5148\u982d\u306b&nbsp;<code>$<\/code>&nbsp;\u3092\u4ed8\u3051\u3066\u8868\u3057\u307e\u3059\u3002<strong><code>$<\/code>&nbsp;\u306f\u300c\u5165\u529b\u306e\u5408\u56f3\u300d\u306a\u306e\u3067\u3001\u5b9f\u969b\u306b\u6253\u3064\u306e\u306f&nbsp;<code>$<\/code>&nbsp;\u3088\u308a\u5f8c\u308d\u306e\u90e8\u5206\u3060\u3051<\/strong>&nbsp;\u3067\u3059\u3002\u305d\u308c\u3067\u306f\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u203b Mac \u3067\u306f\u884c\u672b\u304c&nbsp;<code>$<\/code>&nbsp;\u3067\u306f\u306a\u304f&nbsp;<code>%<\/code>&nbsp;\u306e\u5834\u5408\u304c\u3042\u308a\u307e\u3059\uff08\u4f7f\u3063\u3066\u3044\u308b\u30b7\u30a7\u30eb\u306e\u9055\u3044\u306b\u3088\u308b\u3082\u306e\u3067\u3001\u64cd\u4f5c\u306f\u540c\u3058\u3067\u3059\uff09\u3002<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">whoami\uff1a\u4eca\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u8868\u793a\u3059\u308b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>$ whoami<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u671f\u5f85\u3055\u308c\u308b\u51fa\u529b\uff08\u3042\u306a\u305f\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff09\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>username<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>whoami<\/code>&nbsp;\u306f\u82f1\u8a9e\u306e\u300cwho am i\uff08\u79c1\u306f\u8ab0\uff1f\uff09\u300d\u305d\u306e\u307e\u307e\u3067\u3001\u4eca\u3042\u306a\u305f\u304c\u8ab0\u3068\u3057\u3066\u64cd\u4f5c\u3057\u3066\u3044\u308b\u304b\u3092\u6559\u3048\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">date\uff1a\u4eca\u306e\u65e5\u4ed8\u3068\u6642\u523b\u3092\u8868\u793a\u3059\u308b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>$ date<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u671f\u5f85\u3055\u308c\u308b\u51fa\u529b\uff08\u4f8b\uff09\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Fri May 29 14:32:10 JST 2026<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>date<\/code>&nbsp;\u306f\u73fe\u5728\u306e\u65e5\u4ed8\u30fb\u6642\u523b\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u66dc\u65e5\u30fb\u6708\u30fb\u65e5\u30fb\u6642\u523b\u30fb\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\uff08<code>JST<\/code>&nbsp;\u306f\u65e5\u672c\u6642\u9593\uff09\u30fb\u5e74\u304c\u4e26\u3073\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u203b \u30d1\u30bd\u30b3\u30f3\u306e\u8a00\u8a9e\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u306f\u300e2026\u5e74 5\u670829\u65e5 \u91d1\u66dc\u65e5 \u2026\u300f\u306e\u3088\u3046\u306b\u65e5\u672c\u8a9e\u3067\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u6b63\u89e3\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">pwd\uff1a\u4eca\u3044\u308b\u5834\u6240\uff08\u73fe\u5728\u5730\uff09\u3092\u8868\u793a\u3059\u308b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>$ pwd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u671f\u5f85\u3055\u308c\u308b\u51fa\u529b\uff08\u4f8b\uff09\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/home\/username<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>pwd<\/code>&nbsp;\u306f&nbsp;<strong>print working directory\uff08\u4eca\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8868\u793a\u3059\u308b\uff09<\/strong>&nbsp;\u306e\u7565\u3067\u3059\u3002CLI \u3067\u306f\u4eca\u3069\u306e\u5834\u6240\uff08\u30d5\u30a9\u30eb\u30c0\uff09\u306b\u3044\u308b\u304b\u304c\u753b\u9762\u306b\u898b\u3048\u306a\u3044\u305f\u3081\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u81ea\u5206\u306e\u73fe\u5728\u5730\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<code>\/home\/username<\/code>&nbsp;\u306f\u300c\u81ea\u5206\u306e\u4f5c\u696d\u90e8\u5c4b\uff08\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\u300d\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u69cb\u6587<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30de\u30f3\u30c9\u306f\u3001\u6b21\u306e3\u3064\u306e\u90e8\u54c1\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30b3\u30de\u30f3\u30c9  \u30aa\u30d7\u30b7\u30e7\u30f3  \u5f15\u6570<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u90e8\u54c1<\/th><th>\u5f79\u5272<\/th><th>\u4f8b<\/th><\/tr><\/thead><tbody><tr><td>\u30b3\u30de\u30f3\u30c9<\/td><td>\u4f55\u3092\u3059\u308b\u304b\uff08\u52d5\u8a5e\uff09<\/td><td><code>ls<\/code>\uff08\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b\uff09<\/td><\/tr><tr><td>\u30aa\u30d7\u30b7\u30e7\u30f3<\/td><td>\u3069\u3046\u5b9f\u884c\u3059\u308b\u304b\uff08\u3084\u308a\u65b9\u306e\u6307\u5b9a\uff09<\/td><td><code>-l<\/code>\uff08\u8a73\u3057\u3044\u5f62\u5f0f\u3067\uff09<\/td><\/tr><tr><td>\u5f15\u6570<\/td><td>\u4f55\u306b\u5bfe\u3057\u3066\u5b9f\u884c\u3059\u308b\u304b\uff08\u5bfe\u8c61\uff09<\/td><td><code>\/home<\/code>\uff08\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u3092\uff09<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ls -l \/home<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u306f\u300c<code>\/home<\/code>\uff08\u5f15\u6570\uff09\u306e\u4e2d\u8eab\u3092\u3001<code>-l<\/code>&nbsp;\u3068\u3044\u3046\u8a73\u3057\u3044\u5f62\u5f0f\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09\u3067\u3001\u4e00\u89a7\u8868\u793a\uff08<code>ls<\/code>&nbsp;\u30b3\u30de\u30f3\u30c9\uff09\u3057\u3066\u304f\u3060\u3055\u3044\u300d\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30dd\u30a4\u30f3\u30c8\u306f\u6b21\u306e3\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b3\u30de\u30f3\u30c9\u30fb\u30aa\u30d7\u30b7\u30e7\u30f3\u30fb\u5f15\u6570\u306f&nbsp;<strong>\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u308b<\/strong><\/li>\n\n\n\n<li>\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u591a\u304f\u306e\u5834\u5408&nbsp;<code>-<\/code>\uff08\u30cf\u30a4\u30d5\u30f3\uff09\u304b\u3089\u59cb\u307e\u308b<\/li>\n\n\n\n<li>\u30aa\u30d7\u30b7\u30e7\u30f3\u3084\u5f15\u6570\u306f\u7701\u7565\u3067\u304d\u308b\u3053\u3068\u3082\u591a\u3044\uff08<code>whoami<\/code>&nbsp;\u306e\u3088\u3046\u306b\u30b3\u30de\u30f3\u30c9\u5358\u4f53\u3067\u52d5\u304f\u3082\u306e\u3082\u3042\u308b\uff09<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u300c\u30b3\u30de\u30f3\u30c9 \u30aa\u30d7\u30b7\u30e7\u30f3 \u5f15\u6570\u300d\u3068\u3044\u3046\u578b\u306f\u3001\u3053\u308c\u304b\u3089\u5b66\u3076\u307b\u307c\u3059\u3079\u3066\u306e\u30b3\u30de\u30f3\u30c9\u306b\u5171\u901a\u3057\u307e\u3059\u3002\u4eca\u306f\u4e38\u6697\u8a18\u3057\u306a\u304f\u3066\u5927\u4e08\u592b\u306a\u306e\u3067\u3001\u300c3\u3064\u306e\u90e8\u54c1\u3067\u3067\u304d\u3066\u3044\u308b\u300d\u3068\u3060\u3051\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u6f14\u7fd2<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u8ab2\u984c\uff1a\u7aef\u672b\u3092\u958b\u3044\u30663\u3064\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u81ea\u5206\u306e\u30d1\u30bd\u30b3\u30f3\uff08Mac \u306f\u30bf\u30fc\u30df\u30ca\u30eb\u3001Windows \u306f WSL \u306e Ubuntu\uff09\u3067\u7aef\u672b\u3092\u958b\u304d\u3001\u6b21\u306e\u9806\u756a\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ whoami\n$ date\n$ pwd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u308c\u305e\u308c\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>username\nFri May 29 14:32:10 JST 2026\n\/home\/username<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uff08\u30e6\u30fc\u30b6\u30fc\u540d\u30fb\u65e5\u6642\u30fb\u30d1\u30b9\u306f\u3042\u306a\u305f\u306e\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u308f\u308a\u307e\u3059\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u203b&nbsp;<code>date<\/code>&nbsp;\u306e\u884c\u306f\u3001\u30d1\u30bd\u30b3\u30f3\u306e\u8a00\u8a9e\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u306f\u300e2026\u5e74 5\u670829\u65e5 \u91d1\u66dc\u65e5 \u2026\u300f\u306e\u3088\u3046\u306b\u65e5\u672c\u8a9e\u3067\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u6b63\u89e3\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6f14\u7fd2\u306e\u78ba\u8a8d\u30dd\u30a4\u30f3\u30c8<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2610 \u7aef\u672b\uff08\u30bf\u30fc\u30df\u30ca\u30eb \/ WSL\uff09\u3092\u958b\u3051\u307e\u3057\u305f\u304b\uff1f<\/li>\n\n\n\n<li>\u2610&nbsp;<code>whoami<\/code>\u30fb<code>date<\/code>\u30fb<code>pwd<\/code>&nbsp;\u306e3\u3064\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u307e\u3057\u305f\u304b\uff1f<\/li>\n\n\n\n<li>\u2610 \u30d7\u30ed\u30f3\u30d7\u30c8\u306e&nbsp;<code>$<\/code>&nbsp;\u304c\u4f55\u3092\u610f\u5473\u3059\u308b\u304b\u3001\u81ea\u5206\u306e\u8a00\u8449\u3067\u8aac\u660e\u3067\u304d\u307e\u3059\u304b\uff1f<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u73fe\u5834\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u64cd\u4f5c\u3084\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u306b&nbsp;Linux&nbsp;\u3068&nbsp;CLI\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\uff09&nbsp;\u304c\u5f53\u305f\u308a\u524d\u306e\u3088\u3046\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002Linux\uff08\u30ea\u30ca\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u30d1\u30bd\u30b3\u30f3\u3084\u30b5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-1461","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1461"}],"version-history":[{"count":4,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1461\/revisions"}],"predecessor-version":[{"id":1494,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1461\/revisions\/1494"}],"wp:attachment":[{"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ccna-curriculum.tech-village.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}