Question

    Read the below passage and answer the questions Shell can be accessed by users using a command line interface. A special program called Terminal in Linux/macOS, or Command Prompt in Windows OS is provided to type in the human-readable commands A program which is responsible for providing an interface to a user so that he/she can access the shell. It basically allows users to enter commands and see the output of those commands in a text-based interface.    As a shell can also take commands as input from file, we can write these commands in a file and can execute them in shell to avoid this repetitive work. These files are called  Shell Scripts  or  Shell Programs . Shell script comprises the following elements – ·         Shell Keywords – if, else, break etc. ·         Shell commands – cd, ls, echo, pwd, touch etc. ·         Functions ·         Control flow – if..then..else, case and shell loops etc.

    POSIX is an acronym for ?

    A Portable Operating System Interface Correct Answer Incorrect Answer
    B POSIX Operating System Interface Correct Answer Incorrect Answer
    C Portable Operating Shell Interface Correct Answer Incorrect Answer
    D Portable Operating System Interaction Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    POSIX is an acronym for “Portable Operating System Interface”. POSIX shell is based on the standard defined in Portable Operating System Interface (POSIX) – IEEE P1003.2. It is a set of standards codified by the IEEE and issued by ANSI and ISO. POSIX makes task of cross-platform software development easy. There are various POSIX versions, but the most important are POSIX.1 and POSIX.2, which define system calls and command-line interface.

    Practice Next