Skip to content

Root Fan

Linux & Oracle DBA Blog

  • Home
  • Contact
  • About
  • Index

Tag: 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”

Unmissable Posts

  • Copy Password File From Primary ASM to Standby ASM on Oracle 19c
  • How to Check PDB Status in Oracle
  • How to Change AWR Retention Period in Oracle Database
  • Implementing Transparent Data Encryption in Oracle 19c Step by Step
  • How to Run an Oracle SQL Script Using nohup on Linux

Recent Posts

  • Exadata Storage Index
  • Top 7 Oracle Wait Events Explained
  • Exadata Smart Flash Cache
  • Oracle Exadata Smart Scan
  • Exadata HCC Compression

Categories

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

Unmissable posts

  • Exadata vm_maker commands
  • Step by Step Data Guard Broker Configuration in Oracle 19c
  • How to Check PDB Status in Oracle
  • Implementing Transparent Data Encryption in Oracle 19c Step by Step
  • How to Change Processes Parameter in Oracle 19c RAC
  • Exadata Storage Index
  • Top 7 Oracle Wait Events Explained
  • Exadata Smart Flash Cache
  • Oracle Exadata Smart Scan
  • Exadata HCC Compression

Categories

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

en_US EN
en_US EN

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