LoginSignup
2
1

More than 3 years have passed since last update.

【たったの3分】WindowsでLinuxコマンドを使えるようにする方法

Posted at

背景

  • 転職先でWindowsPCを使っているが、標準のコマンドプロンプトが不便
  • コマンドプロンプトでもLinuxコマンドを使える方法を見つけたので紹介する

WindowsでLinuxコマンドを使えるようにする方法

結論

busyboxを入れましょう。

手順

1. busyboxのダウンロード

  • 以下のサイトからWindows用のbusyboxをダウンロードする。(http://frippery.org/busybox/)
  • サイトの下の方に、以下の記載があるので、busybox64.exeと書いてあるリンクをクリック

The 32-bit binary above will work on 64-bit systems but if you have a 64-bit version of Windows > there's some advantage in using the 64-bit executable busybox64.exe. It's 667,136 bytes in size.

2. ダウンロードファイルの配置

  • ダウンロードしたbusybox64.exeを好きなフォルダに移動
  • busybox64.exeを置いたフォルダへPathを通す。

3. インストール実施

  • コマンドラインでbusybox.exeを置いたフォルダへ移動
  • busyboxをインストールする
> busybox64.exe --install
  • インストールできていることを確認する。 (複数のexegz展開されていればOK)

4. 起動確認

どこでも良いので、lsなどのコマンドを実行し、動作することを確認する

参考

Windowsでbusyboxを用いてLinuxの基本的なコマンドを使用する

2
1
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
2
1