Preview

Operating System and Shell

Satisfactory Essays
Open Document
Open Document
518 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Operating System and Shell
ELM PYTHON
Chapter 4

1. “reject the shell is like rejecting all gears except first in your car” – explain . (gear in the car is use to adjust its speed , same as the shell in the operating system we cannot interact with the kernel and do something to the settings without it)
2. What is the use of options in the command?( Options determine how the command operates)
3. What is the use of arguments in the command?( arguments determine what it operates on)
4. Who develop “bourne shell”?( Stephen L. Bourne)
5. From where the oldest shell had been found?(the oldest shell has been found outside museums)
6. what is the objective of the development of the oldest shell? (for “Unix version Bourne shell sion 7”)
7. What are the steps performed by shell? (In order)
1. Read a command from the terminal (or the file)
2. Validate the command
3. Run the command directly or start the corresponding program
4. Output the result to the screen (or elsewhere)
5. Continue at step 1.

8. What is the standard shell used in linux distributions? (bash/bourne-again shell)

9. What are the steps of computer’s operations?
1. The computer waits for user input
2. The user selects a command and enters it via the keyboard or mouse
3. The computer executes the command

10. What is the importance of shell? (without shell, a user cannot do anything on the system because it acts as the interface between the user and the operating system)
11. What are the two kinds of shell commands?(describe each)
=Internal commands These commands are made available by the shell itself. The
Bourne-again shell contains approximately 30 such commands, which can be executed very quickly. Some commands (such as exit or cd) alter the state of the shell itself and thus cannot be provided externally.
External commands The shell does not execute these commands by itself but launches executable files, which within the file system are usually found in directories like /bin or /usr/bin.
12. Give the

You May Also Find These Documents Helpful

  • Better Essays

    Nt1310 Unit 4

    • 3614 Words
    • 15 Pages

    13. If the following program (myprog) is run from the command line as myprog monday tuesday wednesday thursday? What would be the output?…

    • 3614 Words
    • 15 Pages
    Better Essays
  • Satisfactory Essays

    NT1430

    • 285 Words
    • 1 Page

    1. Which commands can you use from the command line to send a file to the default printer?…

    • 285 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    9. A student writes a report using a word processor, saving the report in a file called my report. The student stores the file on his laptop hard disk drive. Later, he posts the file on a file-sharing site for a classmate to review the report. Then, he copies an updated version of the file to a flash drive to submit it to his instructor. Which of the following are some of the important features supplied by files as defined by a computer OS? (Choose three answers.)…

    • 856 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 1 Study Guide

    • 846 Words
    • 4 Pages

    28. What is the purpose of the |more parameter at the end of a command line?…

    • 846 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    NT1430

    • 369 Words
    • 2 Pages

    The Bourne shell is the original unix shell, often called a command interpreter, that was developed at AT&T. Named for its developer, Stephen Bourne, the Bourne shell is also known by its program name, sh. The shell prompt (character displayed to indicate readiness for input) used is the $ symbol. The Bourne shell family includes the Bourne, korn shell, bash, and zsh shells.…

    • 369 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    CAUA 8

    • 1452 Words
    • 5 Pages

    Q 3: Perform the following tests of controls. For each control state the command or commands that you did to test the control and the results of the test.…

    • 1452 Words
    • 5 Pages
    Good Essays
  • Better Essays

    3) Look at the following pseudocode module header: Module myModule( Integer a, Integer b, Integer c) Now look at the following call to myModule: Call myModule( 3, 2, 1) When this call executes, what value will be stored in a? What value will be stored in b? What value will be stored in c?…

    • 1580 Words
    • 11 Pages
    Better Essays
  • Satisfactory Essays

    Unit 2 Explore and Discuss

    • 1383 Words
    • 6 Pages

    C.1.a) POSIX - a family of standards specified by the IEEE for maintaining compatibility between operating systems.…

    • 1383 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    I) For the first row, explain the “conf. %” output and how it is calculated.…

    • 824 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    A letter, number, word or combination of those that a command needs in order to work.…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Shell is a built in Visual Basic function that executes a command line and returns a handle to that process. Shell takes an optional argument that controls the window style of the new process (maximized, normal, hidden, etc.).…

    • 258 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Operating System

    • 1099 Words
    • 5 Pages

    3. Which of the following are examples of manipulation and transformation commands? (Choose all that apply.)…

    • 1099 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    4. What does dnl stand for in the m4 macro language? What are dnl commands used for? A) A) The dnl command, which stands for delete to new line, instructs the compiler to ignore anything on a line following a dnl. It is used to set off. Describe how setting the dc_eximconfig_configtype variable in /etc/exim4/update-exim4.conf,conf to smart host affects exim4 behavior. What happens when you set this variable to internet?…

    • 401 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    unit 4

    • 691 Words
    • 4 Pages

    Its executed and returned back to the point in the main program where it was sidetracked from…

    • 691 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    First two options are related to maintaining applications file system the second twop options relate to database activities ,the fifth option here is used to put the system in maintenance mode and bring it back from maintenance mode.…

    • 543 Words
    • 3 Pages
    Satisfactory Essays

Related Topics