LoginSignup
1
1

More than 5 years have passed since last update.

ネットワーク関連のコマンドいんすとーる、OSバージョンコマンドなど、自分めも

Last updated at Posted at 2015-05-12

ネットワーク関係コマンド

コマンド使いたいけど、あれなんのパッケージをインストールするんだっけ?ってよく忘れるのでその自分メモ

yum

ソフトウェア パッケージ
mail mailx
telnet telnet
nmap nmap
nslookup, dig bind-utils
ifconfig net-tools

メールのテスト

echo "メール本文" | mail -s "メール件名" hoge@ドメイン

ip , ss コマンドが思ったより使える!!

Deprecated Linux networking commands and their replacements

$ ip a
$ ip r
$ ss

OSのバージョンなど確認するコマンド

OSバージョンの確認
$ cat /etc/redhat-release  (CentOS, RedHatのとき)
$ uname -a
アーキテクチャの確認
$ arch
$ getconf LONG_BIT
1
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
1
1