BASH Scripting
/themes/custom/zyxpro_light/images/placeholder.png
close

on 07th December 2017 / by sudheesh.s
Setting up a new virtual host in Apache usually requires a number of steps such as creating and enabling the virtual host configuration file in /etc/apache2/sites-available/ path, setting up local hosts file and so on. Virtual host BASH Scripting Leave a reply Your email address will not be published. Required fields are marked * anoop (not verified) access_time 17 Nov 2019 - 00:31 Thanks , Its saved my time Add new comment
/themes/custom/zyxpro_light/images/placeholder.png
more_horiz
close

on 22nd May 2015 / by fazeela.ma
Command line provides a platform to that takes input from keyboard to interact with the operating system. In Linux Operating System's, the Command line is often referred to bash. MySQL in Command Line Bash BASH Scripting Leave a reply Your email address will not be published. Required fields are marked *
/themes/custom/zyxpro_light/images/placeholder.png
more_horiz
close

on 11th March 2015 / by fazeela.ma
Ever since we have used computer, all might have heard of command line tool. Most commonly called bash. Command line is capable of taking input and outputting its results from and to computer. One of the features command line offers is it lets the users to create their own instructions. In this article we will take a tour through the steps on creating our own bash command. Bash BASH Scripting Leave a reply Your email address will not be published. Required fields are marked *
/themes/custom/zyxpro_light/images/placeholder.png
close

on 11th November 2014 / by webmaster
If you are a GNU Linux user it is very likely that you would already know about the command top that allows you to see the memory and processor usage by each process in your system. However you would see multiple processes for applications like Chromium or Firefox for each of the tabs that are open in them. Similarly you could see apache run multiple processes if you have it configured to do so. What if you want to see the total memory usage for each application and not by each process. Here is a small bash script to help you do the same. Shell Scripting GNU Linux BASH Scripting Leave a reply Your email address will not be published. Required fields are marked * Ershad (not verified) access_time 16 Nov 2019 - 22:09 for (j = 5; human_readable < 1; j--) human_readable = size_in_bytes / (2^(10*j)) division at this line fails when size_in_bytes is 0 with the following error, we could move this loop to a new else part of the succeeding if condition awk: cmd. line:9: (FILENAME=- FNR=221) fatal: division by zero attempted corrected version - https://gist.github.com/ershad/428514b68b4bdf2c570d webmaster access_time 16 Nov 2019 - 22:09 In reply to for (j = 5; human_readable < by Ershad (not verified) Thanks Ershad for the correction. Have updated the article with the corrected code. Bernardo (not verified) access_time 16 Nov 2019 - 22:09 In reply to Thanks for the correction by webmaster Did you break the script with your update? webmaster access_time 16 Nov 2019 - 22:09 In reply to Did you break the script with by Bernardo (not verified) Thanks for catching it. This has been fixed. Add new comment
/themes/custom/zyxpro_light/images/placeholder.png
more_horiz
close

on 10th August 2013 / by Anoop John
I was trying to get a list of MIDI files play in banshee 2.0 in an old computer. The system had Ubuntu 11.04 and banshee was able to play MIDI files except that it was not able to detect the end of each track and continued playing the same track with silence as the only output and infinitely playing the same track. So whenever there was a long silence I had to manually change to the next track. I did that a few times but then decided to write a small script to solve the problem. Ubuntu Utilities Free Software Shell Scripting GNU Linux BASH Scripting Leave a reply Your email address will not be published. Required fields are marked *
/themes/custom/zyxpro_light/images/placeholder.png
close

on 30th July 2012 / by sandeep.sasikumar
Most of us must be familiar with the names 'dig' and 'whois'. If not, these are two commands used to find the details of domains. You just have to type in dig domainname or whois domainname to get a comprehensive set of info on the domain. What if you have not just one or two domains to check about. How about a 1000 domains and you want to know the details of each? System Administration Linux Shell Domain Registration BASH Scripting Leave a reply Your email address will not be published. Required fields are marked * Anonymous (not verified) access_time 16 Nov 2019 - 22:27 don't work Add new comment