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:~ #...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
Redis is a Open source DB which is used for Linux/Unix Platform. It has in-built wide range of feature, which can use for such as replication, High availability etc… For more info you can visit redis.io. Lets start with...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 Bash History: Replace occurrences in last commandNov 20, 2016 | 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.