How to Print the First Match and Stop With Grep

Read in Browser
 

July 18, 2022

How to Print the First Match and Stop With Grep


grep is a search utility in Linux used for matching content. By default, it will print out any line that matches, which might include a lot of output. If you only care about the first match, you can limit the output to just the first line. Read More »

 
How to Run Multiple Docker Containers on Different IP Addresses


Docker makes it easy to run apps using serverless cloud solutions, but many people will prefer to manage multiple containers running on a few powerful machines. In this case, using multiple IP addresses can be a great way to manage multiple services on the same port. Read More »

 
How to Become a Docker CLI Power User With “–format” and Output Templates


Using the Docker CLI to list and inspect the resources on your system often produces verbose output that can hide important details. Docker supports Go’s templating syntax in conjunction with the --format flag to give you control over what’s displayed. Read More »

 
How to Use grep to Display Filenames & Line Numbers Before Matching Lines


grep is a Linux utility commonly used for searching file contents, or any input passed to it. When searching through multiple files, it’s useful to display the filename and line numbers, especially when using it to automate in shells scripts. Read More »

 
How to Login to Docker Hub and Private Registries With The Docker CLI


A fresh Docker installation defaults to public interactions with Docker Hub. Logging in lets you access your private content and benefit from less restrictive Docker API rate limits. Read More »

 
What Is Static Content, and How Does it Affect Your Website?


You’ve probably heard the term “static content” thrown around—it applies to certain types of websites and files, and depending on the type of website you’re running, it can have a huge effect on how you’re able to host that site. Read More »

 
How to Add an Additional IP Address to Your Linux Server


Most Linux servers, including virtual private servers, will come with a public IP address for you to connect to. However, the physical network card used to carry the connection can support any number of IP addresses. Here’s how to add a new one to your server. Read More »

 
How to grep Search for Filenames Instead of Content in Linux


grep is a Linux tool usually used for searching text files for specific content. However, it’s often useful to search directories for file names instead of file contents, and this can be done with grep and other Linux command line utilities Read More »

 
 

You received this email because you signed up for newsletters from How-To Geek.
Click here to change your preferences or unsubscribe.

How-To Geek, 21010 Southbank St., #4015 Sterling, VA 20165
 

Older messages

Upgrade Your TV and Gaming Experience With These Bias Lights

Sunday, July 17, 2022

Did You Know?: The original title for the movie Scream was Scary Movie; four years later, a movie primarily parodying Scream was released, titled Scary Movie. Read in Browser Logo for How-To Geek July

How Much Does It Cost to Charge an Electric Car?

Saturday, July 16, 2022

Did You Know?: Island gigantism (also called insular gigantism) is a biological phenomenon wherein the size of an animal on an island increases significantly compared to its relatives on the mainland.

HTG Deal Favorites: Save Up to 38% On Stuff We Like

Friday, July 15, 2022

Logo for How-To Geek Deals July 15, 2022 HTG Deal Favorites: Save Up to 38% On Stuff We Like We made it! Our final edition of How-To Geek Deals for Prime Day is here. To close out the week, we're

7 Little-Known Gmail Features You Should Try

Friday, July 15, 2022

Did You Know?: Although not used consistently across the US, the National Fire Protection Association has recommended guidelines for fire hydrant colors, with specific colors designated for different

How to grep Search for Filenames Instead of Content in Linux

Friday, July 15, 2022

Read in Browser Logo for DevOps by How-To Geek July 15, 2022 How to grep Search for Filenames Instead of Content in Linux How to grep Search for Filenames Instead of Content in Linux grep is a Linux

You Might Also Like

Tesla Autopilot investigation closed

Friday, April 26, 2024

Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.

Microsoft's and Google's bet on AI is paying off - Weekly News Roundup - Issue #464

Friday, April 26, 2024

Plus: AI-controlled F-16 has been dogfighting with humans; Grok-1.5 Vision; BionicBee; Microsoft's AI generates realistic deepfakes from a single photo; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🤓 The Meta Quest Might Be the VR Steam Deck Soon — Games to Play After Finishing Wordle

Friday, April 26, 2024

Also: Why a Cheap Soundbar Is Better Than Nothing, and More! How-To Geek Logo April 26, 2024 Did You Know TMI: Rhinotillexomania is the medical term for obsessive nose picking. 🖥️ Get Those Updates

JSK Daily for Apr 26, 2024

Friday, April 26, 2024

JSK Daily for Apr 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news A Solid primer on Signals with Ryan Carniato (JS Party #320) Ryan Carniato joins Amal

So are we banning TikTok or what?

Friday, April 26, 2024

Also: Can an influencer really tank an $800M company? View this email online in your browser By Haje Jan Kamps Friday, April 26, 2024 Image Credits: Jonathan Raa/NurPhoto / Getty Images Welcome to

[AI Incubator] 300+ people are already in. Enrollment closes tonight at 11:59pm PT.

Friday, April 26, 2024

How to decide if you're ready. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1423 [Medium]

Friday, April 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given an array of nonnegative integers. Let's say you start at the

Data science for Product Managers

Friday, April 26, 2024

Crucial resources to empower you with data that matters. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Inner Thoughts

Friday, April 26, 2024

'The Inner Circle' Comes Around... Inner Thoughts By MG Siegler • 26 Apr 2024 View in browser View in browser If you'll allow me a brief meta blurb this week (not a Meta blurb, plenty of

Digest #135: Kubernetes Hacks, Terraform CI/CD, HashiCorp Acquisition, AWS Data Transfer Monitoring

Friday, April 26, 2024

Explore Advanced Kubernetes Techniques, Dive Into Terraform CI/CD Frameworks, Monitor AWS Data Transfer, and Explore Cloud Security with Gitleaks! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏