shell

5.1 查找相关信息

 # 查找s3cmd      
 rpm -qa|grep s3cmd   
 ​  
 # 模糊查找  
 find -iname "*postobject*"  
 find -iname "*查找内容*"

5.2 获取主机名

hostname -s
posted @ 2025-03-06 16:06  布丁家的苏苏  Views(5)  Comments(0)    收藏  举报