找回密码
 立即注册
Qt开源社区 门户 查看内容

【Linux】实用的常用命令

2019-10-12 15:05| 发布者: admin| 查看: 473| 评论: 0

摘要: 收集了一些常用的使用的Linux下命令:查看tomcat:ps -ef |grep tomcat查找:which jenkinswhereis jenkinslocate xxxfind xxx查看端口号:iptables -L -n查看防火墙状态:firewall-cmd --state查看当前的路名:pwd ...
收集了一些常用的使用的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。
----------------------------------------------------------------------------------------------------------------------

鲜花

握手

雷人

路过

鸡蛋

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了