Search For Patterns Within Files With Grep

DistroTube
DistroTube
27.2 هزار بار بازدید - 4 سال پیش - One of the most important
One of the most important command line utilities that every Linux user should know is Grep.  Grep searches one or more input files for lines containing a match to a specified pattern. By default, Grep outputs the matching lines but it has a ton of flags and options available.

ERRATA:
I mentioned that Grep doesn't like binaries.  That's not entirely true.  There is a way to grep a binary as if it were a text file by using the "-a" flag.  One thing to note though is many binaries are just one gigantic line so a lot of the time, all you are going to get is the equivalent of a "cat binary-file".

REFERENCED:
https://www.gnu.org/software/grep/ - GNU Grep

WANT TO SUPPORT THE CHANNEL?
💰 Patreon: Patreon: distrotube
💳 Paypal: https://www.paypal.com/cgi-bin/webscr...
🛍️ Amazon: https://amzn.to/2RotFFi
👕 Teespring: https://teespring.com/stores/distrotube

SOCIAL PLATFORMS:
🗨️ Mastodon: https://mastodon.technology/@distrotube
💬 IRC: irc://freenode #distrotube
👫 Reddit: Reddit: DistroTube
📽️ LBRY: https://lbry.tv/$/invite/@DistroTube:2

DT ON THE WEB:
🕸️ Website: http://distrotube.com/
🐿️ Gopherhole: gopher://distro.tube
📁 GitLab: https://gitlab.com/dwt1  

FREE AND OPEN SOURCE SOFTWARE THAT I USE:
🌐 Brave Browser - https://brave.com/dis872
📽️ Open Broadcaster Software: https://obsproject.com/
🎬 Kdenlive: https://kdenlive.org
🎨 GIMP: https://www.gimp.org/
🔊 Audacity: https://www.audacityteam.org/
💻 VirtualBox: https://www.virtualbox.org/

Your support is very much appreciated. Thanks, guys!
4 سال پیش در تاریخ 1399/04/31 منتشر شده است.
27,278 بـار بازدید شده
... بیشتر