# 常用命令行

# 查看端口占用

# Mac
lsof -i :8080
# Linux
netstat -lntup | grep 8080
1
2
3
4

# 查看磁盘使用情况

df -h
1

# 查看进程信息

ps -ef | grep node
1

# 查看yum模块列表

yum module list
yum module list nodejs
1
2