Linux、Unix常用命令笔记
1、查看是否安装了jdk
rpm -qa |grep java
2、查看位数(Linux/MacOS通用)
getconf LONG_BIT
3、MacOS上安装了Mysql后
执行文件目录:/usr/local/mysql/bin
命令打开停止mysql
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
4、停止apach服务
sudo apachectl stop