• Android

    Android is an operating system based on the Linux kernel, and designed primarily for touch screen mobile devices such as smart phones and tablet computers. Android is a Linux-based software system, and similar to Linux, is free and open source software. This means that other companies can use the Android operating developed by Google and use it in their mobile devices.Android gives you a world-class platform for creating apps and games for Android users everywhere, as well as an open marketplace for distributing to them instantly.

  • Welcome to Bashguru

    Linux is one of popular version of UNIX operating System. It is open source as its source code is freely available. It is free to use. Linux was designed considering UNIX compatibility. It's functionality list is quite similar to that of UNIX and become very popular over the last several years. Our Basic motive is to provide latest information about Linux Operating system.

  • Python Programming

    Python is a comparatively simple programming language, compared to c++. Although some of the benefits of c++ are abstracted away in python, they are replaced with an overall easier to learn language with many “intuitive” features. For this reason it is common and recommended by most professionals that people new to programming start with python.

  • Perl Programming

    Perl is an open-source, general-purpose interpreted programming language. Used often for CGI, Perl is also used for graphics programming, system administration, network programming, finance, bioinformatics, and other applications. The Perl languages borrow features from other programming languages including C, shell scripting (sh), AWK, and sed. They provide powerful text processing facilities without the arbitrary data-length limits of many contemporary UNIX command line tools, facilitating easy manipulation of text files.

  • Android

    Android is an operating system based on the Linux kernel, and designed primarily for touch screen mobile devices such as smart phones and tablet computers. Android is a Linux-based software system, and similar to Linux, is free and open source software. This means that other companies can use the Android operating developed by Google and use it in their mobile devices.Android gives you a world-class platform for creating apps and games for Android users everywhere, as well as an open marketplace for distributing to them instantly.

  • Welcome to Bashguru

    Linux is one of popular version of UNIX operating System. It is open source as its source code is freely available. It is free to use. Linux was designed considering UNIX compatibility. It's functionality list is quite similar to that of UNIX and become very popular over the last several years. Our Basic motive is to provide latest information about Linux Operating system.

Sunday, December 26, 2010

Posted by venu k
311 comments | 7:36 AM
One thing that often confuses new users to the Unix / Linux shell, ishow to do (even very simple) maths. In most languages, x = x + 1 (oreven x++) does exactly what you would expect. The Unix/Linux shell isdifferent,however. It doesn’t have any built-in mathematical operatorsfor variables. It can do comparisons, but maths isn’t supported, noteven simple addition. Shell script variables are by default treated as strings,not numbers,which adds some complexity to doing math in shell script. To keep withscript programming paradigm and allow for better...

Wednesday, December 22, 2010

Posted by venu k
39 comments | 12:38 PM
By definition in mathematics, the Fibonacci Numbers are the numbersin the below sequence:0,1,1,2,3,5,8,13,21,34,55,89,144, ...... By definition, the first two Fibonacci numbers are 0 and 1, and eachsubsequent number is the sum of the previous two. Some sources omitthe initial 0, instead beginning the sequence with two 1s. In mathematical terms, the sequence Fn of Fibonacci numbers is defi-ned by the recurrence relation Fn = Fn-1 + Fn-2,with seed values F0 = 0 and F1 = 1.Iterative Method: #!/bin/bash#!/bin/bash# SCRIPT: fibo_iterative.sh#...

Monday, December 20, 2010

Posted by venu k
16 comments | 12:08 PM
#!/bin/bash# SCRIPT: armstrong_bw_range.sh# USAGE: armstrong_bw_range.sh# PURPOSE: Finding Armstrong numbers between given range.# \\\\ ////# \\ - - //# @ @# ---oOOo-( )-oOOo---#Armstrong numbers are the sum of their own digits to the power of#the number of digits. As that is a slightly brief wording, let me#give an example:#153 = 1³ + 5³ + 3³#Each digit is raised to the power three because 153 has three#digits. They are totalled and we get the original...
Posted by venu k
20 comments | 12:00 PM
#!/bin/bash# SCRIPT: armstrongnumber.sh# USAGE: armstrongnumber.sh# PURPOSE: Check if the given number is Armstrong number ?# \\\\ ////# \\ - - //# @ @# ---oOOo-( )-oOOo---# Armstrong numbers are the sum of their own digits to the power of# the number of digits. As that is a slightly brief wording, let me# give an example:# 153 = 1³ + 5³ + 3³# Each digit is raised to the power three because 153 has three# digits. They are totalled and we get the original...
Posted by venu k
10 comments | 6:28 AM
#!/bin/bash# SCRIPT: dec2binary.sh# USAGE: dec2binary.sh Decimal_Number(s)# PURPOSE: Decimal to Binary Conversion. Takes input as command line# arguments.# \\\\ ////# \\ - - //# @ @# ---oOOo-( )-oOOo---####################################################################### Script Starts Here ######################################################################if [ $# -eq 0 ]then echo "Argument(s)...
Posted by venu k
10 comments | 6:22 AM
#!/bin/bash# SCRIPT: binary2dec.sh# USAGE: binary2dec.sh Binary_Numbers(s)# PURPOSE: Binary to Decimal Conversion. Takes input as command line# arguments.# \\\\ ////# \\ - - //# @ @# ---oOOo-( )-oOOo---####################################################################### Script Starts Here ######################################################################if [ $# -eq 0 ]then echo "Argument(s)...

Sunday, December 19, 2010

Posted by venu k
82 comments | 11:25 AM
Method 1:#!/bin/bash# SCRIPT: validinteger.sh# USAGE: validinteger.sh [ Input value to be validated ]# PURPOSE: validate integer input, allow negative integers also## \\\\ ////# \\ - - //# @ @# ---oOOo-( )-oOOo---## Using the $? exit status variable or integer comparison operators, a# script may test if a parameter contains only digits, so it can be# treated as an integer.####################################################################### Arguments Checking ...