• Flow control in Shell Flow control in Shell
    While writing a Shell script, there may be a situation when you need to follow an external path 2 provided. So you need to create usage of conditional commands that allow your...
  • Loop in Unix / Linux Loop in Unix / Linux
    A loop is a program that has powerful features, allowing you to repeat a set of commands. In this chapter, you will learn through practical examples of loops contained in shell...
  • Control loop in Unix / Linux Control loop in Unix / Linux
    The previous chapter has been shown how to create loops and work with them to perform various tasks. Sometimes you need to stop a loop or continue their repetitive process....
  • Shell replacement Shell replacement
    Shell does the magic when it encounters an expression that contains one or more special characters....
  • Techniques cited in Unix / Linux Techniques cited in Unix / Linux
    Shell provides a variety of characters that have special meaning while using them in any Shell script and cause a limit of a word unless quoted....
  • Navigation IO in Unix / Linux Navigation IO in Unix / Linux
    Most Unix system commands receive input from your terminal and send the output back to your terminal. A command usually reads its input from a location called standard input,...
  • Shell functions Shell functions
    Functions allow you to streamline an overall feature of a script into a smaller and more logical part that can perform the same function whenever it is needed through the function...
  • ManPage Help in Unix ManPage Help in Unix
    All Unix commands come with arbitrary and mandatory functions. It is very common when you forget the full syntax of these commands....
  • The while loop in Shell The while loop in Shell
    The while loop gives you the ability to execute a set of repetitive commands until certain conditions occur. It is often used when you need to manipulate iterative variable...
  • For loop in Shell For loop in Shell
    The for loop works on lists of items (items). It repeats a set of commands for each item in a list....
  • Until loop in Shell Until loop in Shell
    The while loop is perfect for the situation where you want to execute a set of commands while some conditions are true. Sometimes you need to execute a set of commands until a...
  • Select loop in Shell Select loop in Shell
    The select loop provides an easy way to create a numbered menu from which the user can select. It is useful when you want to ask the user to select one or more items from a list...
  • Regular Expression in Unix / Linux Regular Expression in Unix / Linux
    A regular expression is a string that can be used to describe different sequences (arrangement) of characters. Regular Expression is often used by various Unix commands, including...
  • Basic file system in Unix / Linux Basic file system in Unix / Linux
    A file system is a logical collection of files on a partition or a disk. A partition is an information store and can be combined into a hard disk if desired....
  • User management in Unix / Linux User management in Unix / Linux
    Unix supports a concept of Group Account, which groups a number of accounts logically. Each account will be part of any group account. The Unix team plays an important role in...
  • System performance in Unix / Linux System performance in Unix / Linux
    The purpose of this tutorial is to introduce performance analysis with the tools available for monitoring and managing performance on Unix systems, and to provide a general...
  • System log in Unix / Linux System log in Unix / Linux
    Unix systems have a very powerful and flexible logging system, which gives you the ability to record almost anything you can imagine and then manipulate this log to track the...
  • Signal and Trap in Unix / Linux Signal and Trap in Unix / Linux
    Signals are software interrupt signals that are sent to a program that indicates a serious event has occurred. These events can be very diverse from user requests to illegal...
  • Useful commands in Unix / Linux Useful commands in Unix / Linux
    This chapter lists the commands, including syntax and brief descriptions. For more details about these commands, you use....
  • Math functions are available in Shell Math functions are available in Shell
    Most parts of the tutorial are mostly built on Bourne Shell, but this page lists all the built math functions available in the Korn Shell....