ProgrammingKnowledge

Videos: 183 Likes: 7,435 Views: 625,585

Videos by: ProgrammingKnowledge

Shell Scripting Tutorial for Beginners 14 – Array variables

4 days ago
An array is a variable containing multiple values. Any variable may be used as an array. There is no maximum limit to the size of an array, nor any requirement that member variables be indexed or assigned contiguously. Arrays are zero-based: the first element is indexed with the number 0. Indirect declaration is done using […]

Shell Scripting Tutorial for Beginners 13 – The case statement Example

7 days ago
For more detailed Tutorial visit – goo.gl/jLzKh2 The case statement is used to execute statements based on specific values. Often used in place of an if statement, if there are a large number of conditions.The variable is compared with the values using the shell wildcards ( ? * […] ) . [a-z] ) specifies a […]

Shell Scripting Tutorial for Beginners 12 – The case statement

1 week ago
For more detailed Tutorial visit – goo.gl/jLzKh2 The case statement is used to execute statements based on specific values. Often used in place of an if statement, if there are a large number of conditions.The variable is compared with the values using the shell wildcards ( ? * […] ) , NOT regular expressions. All […]

Shell Scripting Tutorial for Beginners 11 – Floating point math operations in bash | bc Command

1 week ago
For more detailed Tutorial visit – goo.gl/ZrJh1a bc, for basic calculator (often referred to as bench calculator), is “an arbitrary-precision calculator language” with syntax similar to the C programming language. bc is typically used as either a mathematical scripting language or as an interactive mathematical shell. bc [ -hlwsqv ] [long-options] [ file … ] […]

Shell Scripting Tutorial for Beginners 11 – Floating point math operations in bash | bc Command

2 weeks ago
For more detailed Tutorial visit – goo.gl/ZrJh1a bc, for basic calculator (often referred to as bench calculator), is “an arbitrary-precision calculator language” with syntax similar to the C programming language. bc is typically used as either a mathematical scripting language or as an interactive mathematical shell. bc [ -hlwsqv ] [long-options] [ file … ] […]

Shell Scripting Tutorial for Beginners 10 – Perform arithmetic operations

2 weeks ago
For more detailed Tutorial visit – goo.gl/ZrJh1a The Arithmetic expression is very important feature for performing number arithmetic operations in scripts. By default variables are treated as strings in bash scripts. But parsing a string to numbers is very easy using double parentheses and external command such as expr. Arithmetic operations in Bash Shell Arithmetic […]

Shell Scripting Tutorial for Beginners 9 – Logical ‘OR’ Operator

2 weeks ago
The Logical OR “||” is a boolean operator that executes following commands based on the outcome of previously executed commands. Logical OR (||) if [[expr1 ||expr2]] Returns expr1 if it can be converted to false; otherwise, returns expr2. Thus, when used with Boolean values, && returns true if one operands are true; otherwise, returns false. […]

Shell Scripting Tutorial for Beginners 8 – Logical ‘AND’ Operator

2 weeks ago
The Logical AND “&&” is a boolean operator that executes following commands based on the outcome of previously executed commands. Logical AND (&&) if [[expr1 && expr2]] Returns expr1 if it can be converted to false; otherwise, returns expr2. Thus, when used with Boolean values, && returns true if both operands are true; otherwise, returns […]

Shell Scripting Tutorial for Beginners 7 – How to append output to the end of text file

3 weeks ago
In this video we will see how to How to append string/data to a file in Linux. Using our knowledge we have gained in the last two lessons we will see how to Append and Insert Lines to a File using bash script. My Website – www.codebind.com My Blog – goo.gl/Nd2pFn My Facebook Page – […]

Shell Scripting Tutorial for Beginners 6 – File test operators

3 weeks ago
For more detailed Tutorial visit – goo.gl/vn9xIb Shell Script has many operators that you can use to test different aspects of a file. For example, you can use the -e operator to ensure that a file exists before deleting it. Or, you can check that a file can be written to before appending to it. […]

How to Install Node.js and NPM on a Mac

3 weeks ago
If you’re using OS X or Windows, the best way to install Node.js is to use one of the installers from the Node.js download page. If you’re using Linux, you can use the installer, or you can check NodeSource’s binary distributions to see whether or not there’s a more recent version that works with your […]

How to Install Python 3.6 on Mac OS X

3 weeks ago
This video explains how to install Python 3 in a Mac OS X, both Mavericks and Yosemite. As the Python website says, “Python 2.x is legacy, Python 3.x is the present and future of the language.” For those who are learning Python on a Mac, it may be slightly frustrating that Apple doesn’t provide the […]