How to use find and grep in linux

ตัวอย่าง การใช้ find ในการค้นหาไฟล์
[[email protected] ~]# find / -name hostname

ตัวอย่าง การใช้ grep ในการค้นหาข้อความในไฟล์นั้นๆ
[[email protected] ~]# grep -n 183.90.168 /etc/sysconfig/network-scripts/ifcfg-ens192

 1,496 total views,  1 views today

Leave a Reply

Your email address will not be published. Required fields are marked *