Beranda > Tutorial > Command > linux command mencari string pada file

linux command mencari string pada file

Mencari String pada file dengan ekstensi tertentu

$ grep “mystring” /home/phadmin/*.txt

Mencari String di seluruh isi direktori secara rekursif

$ grep -r “mystring” /home/phadmin/

atau dengan

$ grep -H -r “mystring” /home/phadmin/

About the author

wrote 255 articles on this blog.

Provider Registrasi Domain , Hosting Murah,VPS & Dedicated Server
Live Chat Online : Senin – Sabtu 09.00 – 16.00 wIB
Support : support [at] pusathosting.com
Aktivasi : billing [at] pusathosting.com
Follow kami di Twitter, Facebook & Google Plus

0saves
Klik Tombol Diatas dan Dapatkan artikel terbaru dengan subscribe di sini

Baca juga artikel ini :

  1. Daftar Linux Command untuk Administrasi Server
  2. PHP Automatic Cut String Function
  3. Menampilkan Spek Hardware melalui command line linux
  4. Display last 5 minute Log File @ Hosting Murah
  5. Registrasi Domain .ID ditutup Hari Ini

facebook comments:

Leave a Reply