0
0

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

初心者による、Linuxコマンド一覧!

Posted at

#Linuxコマンドまとめ
ディレクトリの移動

cd `移動先のディレクトリ名`

ディレクトリの内容をリスト形式で表示

$ ls

ディレクトリを作成する

$ mkdir `ディレクトリ名`

ファイルやディレクトリをコピー

$ cp ` (移動元ファイル名/ディレクトリ名)` `(移動先ファイル名/ディレクトリ名)`

現在いる位置を表示する

$ pwd

ファイルやフォルダのアクセス権限を変更する

$ chmod `モード` `権限ファイル名`

ファイルやフォルダのオーナーやグループを変更する

$ chown `変更したいユーザー名 変更したいファイル名`

ファイルの内容を表示する

$ cat `ファイル名`

viエディタの起動

$ vi `ファイル名`

ファイルとファイルの内容の違いを表示する

$ diff `旧ファイル名` `新ファイル名`
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?