How to change password – non interactively in simple way
Introduction – This is the simple way to change password of user on Unix/Linux system non interactively! This script is really helpful for updating password in bulk or adding new users and setting there password in bulk. Another method is to expect tool please refer article on expect!! Let’s see the script now – root@arun:~# …
PHP – Hide user input using batch script (windows)
Introduction – I was looking for a PHP CLI (command line) script through which I can hide the user input details like password etc on windows platform. I didn’t find any script in php, which hide the password details while user giving input through command prompt. Then I got an idea to hide the password …
MySQL Clustering – configuration and testing
Introduction – MySQL Clustering is simple, easy to setup and reliable solution. That enables clustering of in-memory databases in a shared-nothing system. MySQL supports only NDB storage or table type system in clustering environment. MySQL Cluster integrates the standard MySQL server with an in-memory clustered storage engine called NDB. A MySQL Cluster consists of a …
Network Monitoring With ntop
ntop is a network traffic tools that shows network usage in a real time. One of the good things about this tool is that you can use a web browser to manage and navigate through ntop traffic information to better understand network status. Also Ntop monitors and reports hosts traffic and supports these protocols: TCP/UDP/ICMP …
MRTG on Linux
Introduction MRTG is wonderful tool. You can use it to monitor traffic on your router or leased server located at remote IDC. Since it is written in Perl and some code in C language, it is portable and high performance tool. What is MRTG? As explained in official mrtg(1) man page “The Multi Router Traffic …
Alert mail for low disk space
Few months ago I wrote a script that mail to admin for low disk space Shell script to monitor or watch the disk space but now here we improved the script in few better steps. #!/bin/bash # Shell script to monitor or watch the low-disk space # It will send an email to $ADMIN, if …
What is “write” Command ?
The write command enables you to write an actual message on the other terminal online. You have to issue the write command with the login ID of the user with whom you want to communicate. The write command informs the user at the other end that there is a message from another user. write pastes …
How to rename files extension in given directory recursively?
Introduction- The UNIX/Linux Administrator or programmers have difficulties to solve this kind of quiries. Many times we need to rename perticular files within the given directories for example we have to rename all the text file to conf file ie *.txt file to *.conf file…. We can use Pattern matching with String Operators in Shell …
Virtualbox – Easy Virtualization solution
Introduction – VirtualBox is open source virtualization solution by Innotek GmbH (which is recently acquire by Sun Microsystem) for x86 hardware. Virtualization is a technique for hiding the physical characteristics of computing resources from the way in which other systems, applications, or end users interact with those resources. There are two types of virtualization… Platform …