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
  • ora2pg Migration Example: Oracle HR Schema to PostgreSQL
  • How to Install ora2pg on Ubuntu and Run a Migration Assessment Report

Recent Posts

  • PostgreSQL 18 Backup & Recovery Lab on Ubuntu 24.04 — pg_dump, pg_basebackup and pgBackRest
  • How to Set Up Real-Time Oracle to PostgreSQL Replication Using Debezium
  • How to Install ora2pg on Ubuntu and Run a Migration Assessment Report
  • Oracle to PostgreSQL Migration Guide: OLTP and Data Warehouse Examples
  • Oracle to Postgres Migration: CO Schema Issues and Fixes

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