A Shell Script Compiler in Linux and Unix

Authors

  • Lakshya Karothwal

DOI:

https://doi.org/10.37591/joasp.v8i2.149

Keywords:

Bash shell, Command-line shell, Data processing, Graphical shell, Kernel, Operating system, Shell scripts, Unix shell

Abstract

A command programming language that provides an interface to the UNIX operating system is known as the UNIX shell. It contains some of the mechanisms found in algorithmic languages, such as passing control flow primitives, variables, and parameters. Configurations such as while, if, for, and case are available. Two-way communication is possible between the shell and the command. String value parameters (usually filenames or flags) can also be passed to the command. A return code is about by commands and should be wont to determine the flow of control, and therefore the standard output from a command could also be used as input to the shell. The shell can change the environment in which the command is executed. Input and output are often redirected and processes that communicate through “pipes” are often invoked. Commands are found by searching directories within the filing system during a sequence which will be defined by the user.

Published

2022-02-01