Articles by jonilyn2730
-
Shell Scripting Part V: Functions in Bash
Author: jonilyn2730 • Tags: arch linux, debian, fedora, freebsd, linux, mandriva, opensuse, shell, suse, ubuntu • Comments: 8Welcome to part 5 of HowToForge's shell scripting tutorial series. In this part, you will learn how to efficiently structure your scripts by creating functions. By the end of this tutorial, you will be able to know how to create functions in the Linux Bash Shell, pass parameters to your functions and return some values from a function to your main code.
-
Shell Scripting Part 4: Repetition Control Structures
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 0Welcome to part four of HowtoForge's shell scripting tutorial series (Click here to read the part 1, part 2 and part 3 of the tutorial). In this lesson, we will cover the different repetition control structures of the bash shell and how to use each structure by providing some examples. Let's get started.
-
Shell Scripting Part 3: Decision Control Structures in Shell Scripts
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 4We already covered the basics of shell scripting such as accepting inputs, process data through arithmetic operations and generating and displaying output in the previous series of this tutorial. In this series, we will go deeper to a more advanced topic in a programming language -- making decisions in a program, but this time we will do it using bash shell.
-
-
Shell Scripting Part I: Getting started with bash scripting
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 11This is the first part of a series of Linux tutorials. In writing this tutorial, I assume that you are an absolute beginner in creating Linux scripts and are very much willing to learn. During the series the level will increase, so I am sure there will be something new even for more advanced users.
-
Shell Scripting Part 2: Accepting Inputs and Performing Shell Arithmetic
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 7This article is the second part of the Howtoforge shell scripting tutorial series. By this time, I assume that you have read the first part of the series and know how to create a simple script and execute it. In the second part, you will learn how accept inputs from the user and process them through shell scripting.