Unix, Linux, DevOps , Cloud computing and BigData Knowledge-Base

0

Bash Scripting – Controlling the Loop

You might be tempted to think that after you start a loop, you’re stuck until the loop finishes all its iterations. This is not true. A couple of commands help us control what happens inside of a loop: The break command The continue command Each command...

0

Bash Scripting – the until command

The until command works in exactly the opposite way from the while command. The until command requires that you specify a test command that normally produces a nonzero exit status. As long as the exit status of the test command is non-zero, the bash shell executes...

0

Bash Scripting – the for command

Iterating through a series of commands is a common programming practice. Often, you need to repeat a set of commands until a specific condition has been met, such as processing all the files in a directory, all the users on a system, or all the lines...

0

Bash Scripting – Trying the Test Command

So far, all you’ve seen in the if statement line are normal shell commands. You might be wondering if the bash if-then statement has the ability to evaluate any condition other than a command’s exit status code. The answer is no, it can’t. However, there’s a...

Page 52 of 85

[contact-form to='ramkumar.ramadevu@gmail.com' subject='New Learning Request Submitted'][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Learning Request' type='textarea' required='1'/][contact-field label='Are you Looking for ' type='radio' required='1' options='Paid Training,Free Training'/][/contact-form]

What is your Learning Goal for Next Six Months ? Talk to us