|
ubuntu linux命令行查找文件方法--知道部分关键字
用find命令查找
*vswitch*这个是我们要找查的东西,在不知道全名的情况下,只知道关键字vswitch,那么在关键字前后加上*进行查找,结果如下
- root@ubuntu:~# find / -name *vswitch*
- /usr/src/linux-headers-4.4.0-131-generic/include/config/openvswitch.h
- /usr/src/linux-headers-4.4.0-131-generic/include/config/openvswitch
- /usr/src/linux-headers-4.4.0-131/net/openvswitch
- /usr/src/linux-headers-4.4.0-131/include/linux/openvswitch.h
- /usr/src/linux-headers-4.4.0-131/include/uapi/linux/openvswitch.h
- /usr/share/sosreport/sos/plugins/openvswitch.py
- /usr/share/sosreport/sos/plugins/__pycache__/openvswitch.cpython-35.pyc
- /usr/include/linux/openvswitch.h
- /lib/modules/4.4.0-131-generic/kernel/net/openvswitch
- /lib/modules/4.4.0-131-generic/kernel/net/openvswitch/openvswitch.ko
复制代码
|
|