linux 常用命令

来源:互联网 发布:淘宝类目查询 编辑:程序博客网 时间:2024/05/16 00:26

1,新建一个空的文件。

# touch testtouch


2,在文件夹中搜索字符串

# grep -nrH "*****" dir_path

 


3,在文件夹中搜索文件

# find dir_path -name file_name

 

原创粉丝点击