LoginSignup
1
3

More than 5 years have passed since last update.

【初心者向け】ターミナルのコマンド

Posted at

黒い画面ってコマンドをうっても、最初は何が起こっているのかわからなくて難しいですよね。
初心者の方向けに基礎コマンドまとめておきました。まずはこれさえ覚えれば概ねはなんとかなるはず。
順に色々覚えていくのが吉です。

フォルダを移動する

$ cd ファイルパス

ファイルパスの入力はは大変なので、macの方は ターミナルに直接finderからファイルをドラッグ&ドロップ しましょう!

現在地確認

$ pwd

中に入っているファイルを見る

$ ls

-alをつけると隠しファイルも見れます
console
$ ls -al

フォルダを作る

$ mkdir フォルダ名

ファイルを作る

$ touch index.html

index.htmlのところは作りたいファイル名と拡張子を任意で入れて下さい。

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