Last active
October 7, 2015 02:18
-
-
Save outsideris/3089327 to your computer and use it in GitHub Desktop.
useful unix command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OS 버전확인 | |
$ lsb_release -a | |
$ uname -a | |
# CPU 갯수 확인 | |
$ cat /proc/cpuinfo | grep processor | wc -l | |
# 사용자 추가 | |
$ adduser USERNAME | |
# 리붓 | |
$ sudo reboot | |
# TCP 프로토콜 사용 서비스 확인 | |
# * 3306 : mysql | |
# * 139 : smb | |
# * 143 : imap | |
# * 80 : http | |
# * 53 : named | |
# * 21 : ftp | |
# * 22 : ssh | |
# * 953 : rndc | |
# * 25 : smtp | |
$ netstat -tnl | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment