LoginSignup
1
2

More than 5 years have passed since last update.

Linux系serverでよく使うコマンド一覧(Now Updating)

Last updated at Posted at 2017-09-26

フォルダ内のファイル一覧取得

一覧をタイムスタンプ順にソートして、且つファイルサイズをKB or MB or GB表示指定をして最後にタイムスタンプを西暦表示する

ls -lht --ful

Serverの起動状況確認

Serverが起動しているか確認時に使用する。ただし、ServerによってはPingを拒否している場合もあるため、通信ができないからと言ってServerが停止していると判断することは避けた方がよい。

ping

DNSの設定状況確認

DNSの設定状況を確認する

nslookup

http通信の状況を確認

http or https の通信結果を確認する

curl

サーバからファイルをダウンロード or http通信の状況を確認

Serverからファイルをダウンロードする

wget

Serverの再起動状況などログファイル監視

Serverの再起動などでログファイルを監視する際に使用する

tail -f

ファイル内確認

ファイル内をpage単位等で確認する際に使用する。moreであれば参照のみのため、誤って内容を書き換えてしまう心配はない

more

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