This is a small tip when dealing with interactive shell scripting on how to hide sensitive information displaying on the terminal. Scenario: Suppose you want to connect some site using username and password in a shell script,...Read More
In this tutorial, we will use some commands that help us to find files in Linux. These commands are: echo ls find whereis locate List files using echo command Many people are not aware of echo command potential. This will come...Read More
Sometimes you need to know the size of each mysql table to optimize them and gain some free space in the disk. To do so, you can check manually the size of each table in the mysql datadir (generally it is /var/lib/mysql), or you...Read More
Sometimes we use Linux commands with many long arguments, and to use the same command with a little modification we are obliged to go through these args and modify them one by one.Example : touch /home/user1/test/scenario.txt...Read More
Since sysadmin are looking to have racing beast servers, they are confonted to the problem of performance optimization. Nowadays it is not uncommon to see a server with 32G or 96G of RAM or even more. Why to mount so much in...Read More
Apache is the most popular open-source webserver. It is also called httpd in Centos/Redhat distributions. Begin by checking if the server is running or not: [debian.linuxnix] root:~/ # service apache2 status Apache2 is running...Read More
Bash function $RANDOM To generate a random integer we can use the internal bash function $RANDOM. This functions returns integer between 0 and 32767. Example: [www1.linuxnix] root:~ # i=$RANDOM [www1.linuxnix] root:~ # echo $i...Read More
This is the first part of the series on python built-in functions. In this tutorial we will present any() and all() built-ins. Both these functions serve to analyze the content of a sequence when applying a specific...Read More
What is GlusterFS? GlusterFS(Which was developed by Gluster inc and acquired by Redhat in 2011) is a distributed network file system characterized by: Scalability, High availability A a lot of applications needing shared storage...Read More
Many people who are into Computer systems infrastructure automation and administration field that Luke is a down to earth and creator of Puppet. He Stepped down from Puppet CEO post today. He hinted this when Puppet hired Sanjay...Read More
Get more stuff like this
in your inbox
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
we respect your privacy and take protecting it seriously
Linux Shell scripting: Hide User input on terminalMar 21, 2017 | Basics
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.