Tag Archives: linux

Recursively replacing a string in all files in a directory

You can use the following command to change Specific string on all files under specific directory: find /u01/directory -type f | xargs perl -pi~ -e ‘s/oldtext/newtext/g;’ Tested on Linux & AIX Ref: https://blogs.oracle.com/rammenon/recursively-replacing-a-string-in-all-files-in-a-directory-linux

How to disable LDAP Authentication in Linux

After a customer had performed some bad edits on various LDAP configuration files, users were locked out and unable to access the system. Root could still login however. I logged in as root, and rather than mess with various config … Continue reading

LVM

LVM :- Logical Volume Manager and it’s a disk Management for Linux/UNIX Systems.

How To Check Linux Hardware Info

lscpu Reports info about the cpu and processing units. lshw Reports detailed/brief info about multiple hardware units like cpu, memory, disk, network adapters etc.

how to know your operating system release

if you want to get your operating system relase you have 2 ways to do that: First: you can run the following command: # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 13.04 Release: 13.04 Codename: … Continue reading

How to make the System Ring

if you are a Shell Scripting Developer and all the time deveolpe Shell Scripts, if course you need to make your System Ring after finished the script or when it needs data from the user. try this code on AIX