1、more config.properties 查看config.properties文件内容
2、vi fileName 编辑文件,fileName是文件名
3、ls 打印当前目录下所以文件名
4、ps -ef|grep java 打印java进程
5、kill -9 xxx xxx 杀死进程
6、rm -rf ./servers/wechatServer/tmp/ 清楚指定目录的缓存
7、nohup ./startWebLogic.sh & 重启服务
8、tail -f 'nohup.out' 打印日子文件
9、history 查看历史输入
10、cd ../ 回到根目录
11、cp ./WeChatBusiMgr.war ../../wechat/war/ 把当前目录下的WeChatBusiMgr.war复制到../../wechat/war/中
12、ls -lrt 显示当目录下的文件,包括时间和用户。
13、data 打印当前主机时间
14、rm -rf WeChatBusiMgr.war.20160607 删除WeChatBusiMgr.war.20160607
15、exit 退出当前用户
16、su wechat 登录wechat用户
17、shift+insert 复制黏贴
18、tab 提示
19、chown wechat test.war 把test.war包的权限改为wechat用户下
20、chgrp wechat test.wat 把test.war包改到wechat用户组下
2、vi fileName 编辑文件,fileName是文件名
3、ls 打印当前目录下所以文件名
4、ps -ef|grep java 打印java进程
5、kill -9 xxx xxx 杀死进程
6、rm -rf ./servers/wechatServer/tmp/ 清楚指定目录的缓存
7、nohup ./startWebLogic.sh & 重启服务
8、tail -f 'nohup.out' 打印日子文件
9、history 查看历史输入
10、cd ../ 回到根目录
11、cp ./WeChatBusiMgr.war ../../wechat/war/ 把当前目录下的WeChatBusiMgr.war复制到../../wechat/war/中
12、ls -lrt 显示当目录下的文件,包括时间和用户。
13、data 打印当前主机时间
14、rm -rf WeChatBusiMgr.war.20160607 删除WeChatBusiMgr.war.20160607
15、exit 退出当前用户
16、su wechat 登录wechat用户
17、shift+insert 复制黏贴
18、tab 提示
19、chown wechat test.war 把test.war包的权限改为wechat用户下
20、chgrp wechat test.wat 把test.war包改到wechat用户组下