收集了一些常用的使用的Linux下命令: 查看tomcat:ps -ef |grep tomcat 查找: which jenkins whereis jenkins locate xxx find xxx 查看端口号:iptables -L -n 查看防火墙状态:firewall-cmd --state 查看当前的路名:pwd 打开finder文件夹:open . 查看日志: tail -f 50 ../../logs/car-loan/20190920/14.log 【SCP命令】 scp root@107.172.27.254:/home/test.txt . //下载文件 scp test.txt root@107.172.27.254:/home //上传文件 scp -r root@107.172.27.254:/home/test . //下载目录 scp -r test root@107.172.27.254:/home //上传目录 ---------------------------------------------------------------------------------------------------------------------- 我们尊重原创,也注重分享,文章来源于微信公众号:信息技术家园,建议关注公众号查看原文。如若侵权请联系qter@qter.org。 ---------------------------------------------------------------------------------------------------------------------- |