LoginSignup
2
2

More than 5 years have passed since last update.

Linuxコマンド

Last updated at Posted at 2019-04-09

ターミナル操作で使用するLinuxコマンド

はじめに

サーバーサイド言語を扱う上で必須の知識になってくるLinuxコマンドです。
まずは、Macでターミナルを起動しましょう。

入力したコマンドを遡る

↑ キー

ディレクトリを移動する

移動する
cd

$ cd desktop

ディレクトリを一階層戻る
cd ..

$ cd ..

ホームディレクトリに戻る ※cdのみでも可

$ cd ~

新規ディレクトリを作成する

mkdir

$ mkdir sample

新規ファイルを作成する

touch

$ touch index.html

現在いるディレクトリのファイルを表示する

ls

$ ls

操作対象になっているディレクトリの位置を表示する

$ pwd

Atomエディタを開く

$ atom .
2
2
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
2