User Tools

Site Tools


Cat Grep Get Part of String

Cat dan grep mendapatkan sebagian dari string

Contoh string

2022-03-11 14:08:08 1nSZNf-0007Dn-So <= ( [] P=esmtpa S=19395 T="NPE 1X40" from <> for

Kita ingin mendapatkan string dari from dan for sampai akhir

maka kita bisa gunakan

cat file | grep -i -o 'from.*.for.*' 


Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/bash/cat-grep-get-part-string.txt · Last modified: 2022/03/11 02:33 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki