环境:ubuntu10
命令find:
使用方法:find findpath -name filename
举例如下图:
说明:创建testfind.txt,执行locate testfind.txt,没有任何结果
说明database没有被刷新
执行find /home..../shell -name testfind.txt有了结果
find命令比较强大,如果将上面的路径改为/,那么需找时间将会大大加大
环境:ubuntu10
命令find:
使用方法:find findpath -name filename
举例如下图:
说明:创建testfind.txt,执行locate testfind.txt,没有任何结果
说明database没有被刷新
执行find /home..../shell -name testfind.txt有了结果
find命令比较强大,如果将上面的路径改为/,那么需找时间将会大大加大