Skip to content

Root Fan

Oracle & Postgresql DBA Blog

  • Home
  • Contact
  • About
  • Index
  • Services

Tag: grep

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”

Unmissable Posts

  • Copy Password File From Primary ASM to Standby ASM on Oracle 19c
  • Oracle Exadata vs ExaCC vs ExaCS
  • PostgreSQL High Availability with Patroni, etcd, HAProxy and keepalived
  • Oracle 19c Data Guard Configuration Step by Step
  • Top 7 Oracle Wait Events Explained

Recent Posts

  • Oracle to Postgres Migration: CO Schema Issues and Fixes
  • Oracle to Postgres Migration Step by Step: The SH Schema (Partitions, Materialized Views, Bitmap Indexes)
  • ora2pg Migration Example: Oracle HR Schema to PostgreSQL
  • The Complete Oracle-to-PostgreSQL Data Type Mapping Guide
  • PostgreSQL Tools List: The Essential Stack for Production DBAs

Categories

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

Unmissable posts

  • ora2pg Migration Example: Oracle HR Schema to PostgreSQL
  • Oracle to Postgres Migration: CO Schema Issues and Fixes
  • PostgreSQL High Availability with Patroni, etcd, HAProxy and keepalived
  • Copy Password File From Primary ASM to Standby ASM on Oracle 19c
  • PostgreSQL Tools List: The Essential Stack for Production DBAs
  • Oracle to Postgres Migration: CO Schema Issues and Fixes
  • Oracle to Postgres Migration Step by Step: The SH Schema (Partitions, Materialized Views, Bitmap Indexes)
  • ora2pg Migration Example: Oracle HR Schema to PostgreSQL
  • The Complete Oracle-to-PostgreSQL Data Type Mapping Guide
  • PostgreSQL Tools List: The Essential Stack for Production DBAs

Categories

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

EN
EN
ES FR

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