Unix, Linux, DevOps , Cloud computing and BigData Knowledge-Base
Evolution of System administration to TechOps/DevOps Culture
Wanna upgrade your self into next generation system admin? We offer two options for you. Option1 : Signup For our Free Email crash course – “Free Email Crash Course – Getting Started with Puppet in 7 Days” – Option 2: Join our Weekend PAID Workshop “Automation...
DevOps Series – Automation with Puppet – Part3
Puppet – Commercial Versus Open Source Puppet has an enterprise version that costs money, and a free version. A few differences between them are outlined in below table Feature Open source Enterprise Puppet Console graphical user interface No Yes Puppet?supported modules No Yes Role-based access control...
Bash Scripting – Redirecting Input in Scripts
You can use the same technique used to redirect STDOUT and STDERR in your scripts to redirect STDIN from the keyboard. The execcommand allows you to redirect STDIN from a file on the Linux system: exec 0< testfile This command informs the shell that it should...
Bash Scripting – Redirecting output in scripts
You can use the STDOUT and STDERR file descriptors in your scripts to produce output in multiple locations simply by redirecting the appropriate file descriptors. There are two methods for redirecting output in the script: Temporarily redirecting each line Permanently redirecting all commands in the script...
RHEL6 Installation and Security Bench Marking Recommendations – Part6
System Access, Authentication and Authorization In this post we will discuss about the Configuration and Tuning of RHEL6 System Access, Authentication and Authorization.
Bash Scripting – some real time examples of loops
Now that you’ve seen how to use the different ways to create loops in shell scripts, let’s look at some practical examples of how to use them. Looping is a common way to iterate through data on the system, whether it’s files in folders or data...
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...
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...
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...