Skip to content

Root Fan

Oracle & Postgresql DBA Blog

  • Home
  • Contact
  • About
  • Index
  • Services

Tag: files

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”
Posted on November 15, 2018April 3, 2022

How to Find Files in Ubuntu Terminal

brown wooden floor

Here is a list of commands I use to find files in Ubuntu.

To find all files with .zip extension You can use this

find . -name "*.zip"

If you want to find all files with a pattern use this

find . -name "*pattern*"
Continue reading “How to Find Files in Ubuntu Terminal”

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
  • How to Read an AWR Report in Oracle

Recent Posts

  • The Complete Oracle-to-PostgreSQL Data Type Mapping Guide
  • PostgreSQL Tools List: The Essential Stack for Production DBAs
  • PostgreSQL High Availability with Patroni, etcd, HAProxy and keepalived
  • 5 Oracle to PostgreSQL Migration Projects That Failed (And Why)
  • Oracle to PostgreSQL Migration Best Practices: A Checklist for DBAs and Architects

Categories

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

Unmissable posts

  • The Complete Oracle-to-PostgreSQL Data Type Mapping Guide
  • Oracle Exadata vs ExaCC vs ExaCS
  • Copy Password File From Primary ASM to Standby ASM on Oracle 19c
  • PhysicalDisk → CellDisk → GridDisk on Exadata
  • PostgreSQL Tools List: The Essential Stack for Production DBAs
  • The Complete Oracle-to-PostgreSQL Data Type Mapping Guide
  • PostgreSQL Tools List: The Essential Stack for Production DBAs
  • PostgreSQL High Availability with Patroni, etcd, HAProxy and keepalived
  • 5 Oracle to PostgreSQL Migration Projects That Failed (And Why)
  • Oracle to PostgreSQL Migration Best Practices: A Checklist for DBAs and Architects

Categories

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

EN
EN
ES FR

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