linux常用命令

1、Linux常用20个命令

2、Ubuntu下使用sshfs挂载远程目录到本地

Ubuntu源中已经包含了sshfs,以及所需的fuse包,直接安装即可:sudo apt-get install sshfs

使用以下命令:
linjiqin@ubuntu:~$ sudo sshfs -oallow_other linjiqin@49.234.2.115:/home/remote /home/local
/home/remote 远程目录
/home/local 本地方法

3、查看8080端口被哪个应用程序使用 
a、sudo netstat -apn | grep 8080
eg、tcp6 0 0 :::8080 :::* LISTEN 2103/java

b、sudo ps -ef | grep 2103

原文地址:https://www.cnblogs.com/linjiqin/p/3624849.html