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 5 years have passed since last update.

ターミナル入門1

Last updated at Posted at 2020-05-24

ターミナルの見た目を変更する

ターミナル→環境設定→プロフィル→プロファイルを選択(Homebrewがおすすめ)→デフォルトを押す
スクリーンショット 2020-05-24 13.56.26.png

ターミナルの文字の大きさを変える

文字を大きくする時
⌘キー&シフト&セミコロン(⌘キー&+)

文字を小さくする時
⌘キー&−キー

コマンド集

lsコマンド→自分のいる階層にあるファイルやフォルダを表示する
cd パス→指定のパスに移動する
cd ..→一つ上の階層に移動する
pwd→自分のいる場所を確認する
mkdir フォルダ名→指定した名前のフォルダを作成
rm -r フォルダ名→指定のフォルダを削除する
touch ファイル名→指定した名前のファイルを作成
vim ファイル名→ファイルの中身を開く
i→入力を受け付ける
escキー:wq→ファイルを保存してvimを閉じる
cat ファイル名→ファイルの中身を確認
rm ファイル名→指定した名前のファイルを削除

終わりに

最近になってターミナルの勉強を始めました。これからも面白いコマンドを見つけたら更新して行くのでこれからもよろしくお願いします。

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?