Posts tagged with command

这是我平时使用PuTTY记录下的命令,以前经常去google搜索这些基本的命令,现在记录下来就不用再东跑西跑浪费时间了。
命令包括top、yum、getconf、more、rpm、hostname、rm、cd、mv、ln、cp、find、df、wget、unzip、tar
Latest update:091023

Read the rest of this entry »

-name 必须用到的选项。表明要求系统按照文件名查找.

一般格式:find /(dirname) -name filename

具体文件名查找法:

如果知道了某个文件的文件名,而不知道这个文件放到哪个文件夹,甚至是层层套嵌的文件夹里。举例说明,假设你忘记了httpd.conf这个文件在系统的哪个目录下,甚至在系统的某个地方也不知道,则这是可以使用如下命令:

find / -name httpd.conf

Read the rest of this entry »