Search For Patterns Within Files With Grep

DistroTube β€’ July 21, 2020
Video Thumbnail
DistroTube Logo

DistroTube

View Channel

About

DistroTube (DT) is a YouTube channel started by me, Derek Taylor (also DT), in October 2017. Topics include Linux distro reviews, news, opinion and tutorials. Some of my favorite topics include the command line, tiling window managers, vim and emacs, free software and open source software. WANT TO SUPPORT THE CHANNEL? πŸ’° Patreon: https://www.patreon.com/distrotube πŸ’³ Paypal: https://www.paypal.com/donate/?hosted_button_id=MW3ZFGS8Q9JGW πŸ›οΈ Amazon: https://amzn.to/2RotFFi πŸ‘• Teespring: https://teespring.com/stores/distrotube DT ON THE WEB: πŸ•ΈοΈ Website: http://distrotube.com/ πŸ“ GitLab: https://gitlab.com/dwt1 πŸ—¨οΈ Mastodon: https://fosstodon.org/@distrotube πŸ‘« Reddit: https://www.reddit.com/r/DistroTube/ πŸ“½οΈ LBRY/Odysee: https://odysee.com/$/invite/@DistroTube:2

Video Description

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: https://www.patreon.com/distrotube πŸ’³ Paypal: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=derek%40distrotube%2ecom&lc=US&item_name=DistroTube&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest πŸ›οΈ Amazon: https://amzn.to/2RotFFi πŸ‘• Teespring: https://teespring.com/stores/distrotube SOCIAL PLATFORMS: πŸ—¨οΈ Mastodon: https://mastodon.technology/@distrotube πŸ’¬ IRC: irc://freenode #distrotube πŸ‘« Reddit: https://www.reddit.com/r/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!

You May Also Like