Skip to content

Root Fan

Linux & Oracle DBA Blog

  • Home
  • Contact
  • About
  • Index

Category: Linux

Posted on August 7, 2020April 23, 2023

How to Find Text in Files on Linux

close up photo of water drops

If you want to find specific text in a given directory recursively, the best way to do it would be with the grep command and a pattern.

Just like that:

grep -ri something *

-r or -R is recursive,
-i to ignore the case
-w stands for match the whole word.
-l (lower-case L) can be added to just give the file name of matching files.

Continue reading “How to Find Text in Files on Linux”

Posts pagination

Previous page Page 1 Page 2

Unmissable Posts

  • Copy Password File From Primary ASM to Standby ASM on Oracle 19c
  • Oracle 19c Data Guard Configuration Step by Step
  • Step by Step Data Guard Broker Configuration in Oracle 19c
  • Implementing Transparent Data Encryption in Oracle 19c Step by Step
  • How to Change AWR Retention Period in Oracle Database

Recent Posts

  • Oracle Query to Check RMAN Backup Status
  • PostgreSQL Monitoring: How to Keep Your Database Healthy
  • PostgreSQL 16: Architecture and Features Every DBA Should Know
  • Oracle Cloud Infrastructure OCI Foundations
  • PhysicalDisk → CellDisk → GridDisk on Exadata

Categories

  • Apache
  • Exadata
  • Firewall
  • Linux
  • Oracle
  • Postfix
  • PostgreSQL
  • Security
  • Ubuntu

Unmissable posts

  • Step by Step Data Guard Broker Configuration in Oracle 19c
  • Oracle 19c RMAN Duplicate Database From Backup
  • Oracle Query to Check RMAN Backup Status
  • Copy Password File From Primary ASM to Standby ASM on Oracle 19c
  • Oracle RMAN Recover Database Until Time
  • Oracle Query to Check RMAN Backup Status
  • PostgreSQL Monitoring: How to Keep Your Database Healthy
  • PostgreSQL 16: Architecture and Features Every DBA Should Know
  • Oracle Cloud Infrastructure OCI Foundations
  • PhysicalDisk → CellDisk → GridDisk on Exadata

Categories

  • Apache
  • Exadata
  • Firewall
  • Linux
  • Oracle
  • Postfix
  • PostgreSQL
  • Security
  • Ubuntu

English EN
English EN
Spanish ES French FR

  • Facebook
  • Twitter
  • Email
Privacy Policy Proudly powered by WordPress