FIND & REPLACE ACROSS MULTIPLE FILES IN LINUX

I was trying to find a solution to do a find & replace across multiple files which was purely command line based. There are plenty of scripts out there which will accomplish this but I needed a single line command. After some google searches and some experimentation I came up with this snippet.

Continue reading

Advertisements

ORA-00845: MEMORY_TARGET not supported on this system

Problem:
While creating a startup database using dbca the database creation GUI gives error message in a pop up window,
ORA-00845: MEMORY_TARGET not supported on this system
from where you can ignore the error message.
The similar scenario also occur whenever you try to start your database then startup shows error message like below.

SQL> STARTUP
ORA-00845: MEMORY_TARGET not supported on this system Continue reading

Package Management in Red Hat

Red Hat’s Package Manager (RPM)

RPM is a powerful software manager. It can install, remove, query, and verify the software on your system. Rpm is more than a Red Hat specific tool. Many other modern distributions, such as Caldera and SuSe, use rpm too.

Querying Your System

The first thing you should do is look and see what software you have installed on your system. Here is the command to use:

        rpm -qa | more

Continue reading

Dealing with vi Editor

Modes

vi has two modes insertion mode and command mode. The editor begins in command mode, where the cursor movement and text deletion and pasting occur. Insertion mode begins upon entering an insertion or change command. [ESC] returns the editor to command mode (where you can quit, for example by typing :q!). Most commands execute as soon as you type them except for “colon” commands which execute when you press the ruturn key Continue reading