0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

超個人的、PowershellとTerminal(Linux)のコマンドの違い

Posted at

題名からしてわかりにくいのですが、要はWindowsとLinuxのコマンドがどういう風に違うのかまとめです。

毎度毎度の備忘録です。

ちなみにslコマンドはLinuxだとうまく使えない感じ...かな? 間違ってたらすみません(;∀;)

使用してるバージョンはPowershell core v7.3.0です

Powershell Terminal 用法
ls ls -l カレントディレクトリの内容確認
cat cat 指定したファイルの確認
cd.. or cd .. cd .. 上位ディレクトリに戻る Linuxではスペース必須
sl (/go/to/home) (error)
Copy-Item copy ファイルのコピー。Powershellではディレクトリは-Recurse オプションをつける
ipconfig ifconfig
Remove-Item rm ファイルまたはディレクトリ削除

Powershellのみ

command
clear 表示をすべてリセット
0
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?