OS_Chapter_2.2

ssonjh·2021년 4월 6일
0

OS

목록 보기
7/17

👀 User and Operating-System Interface

Command_Line Interface (CLI)

  • provide a command interpreter
  • allows users to directly enter commands that are to be performed by the operating system

Graphical User Interface (GUI)

  • Allows users to interface with the OS via GUI

Touch-screen interface

  • Users interact by making gestures on the touch screen

Summary

Command_Line Interface (CLI)

  • command interpreter를 제공한다.
  • user들이 직접적으로 command에 관여할 수 있게 하여 os에 접근할 수 있도록 한다.

Graphical User Interface (GUI)

  • user들이 GUI를 통해 OS에 접근할 수 있게 한다.

Touch-screen interface

  • user들이 제스처를 만들어 touch screen과 상호작용할 수 있게 한다.
    ex) The iPhone touch screen.

📕 command interpreter

  • CLI or command interpreter allows direct command entry
  • Sometimes implemented in kernel, sometimes by systems program
  • Sometimes multiple flavors implemented - shells
    • BASH (Bourne-Again SHell), CSH (C SHell), KSH (Korn Shell), TCSH on Linux
    • CMD on windows OS
  • Primarily fetches a command from user and executes it
    • Sometimes commands built-in,
    • Sometimes just names of programs
    • Adding new features doesn’t require shell modification

📙 Graphical User Interface, GUI

  • User-friendly desktop metaphor interface
    ex) mouse, keyboard, and monitor
  • Icons represent files, programs, actions, etc
  • Mouse buttons over objects in the interface cause various actions (provide information, options, execute function, open directory (known as a folder)
  • Invented at Xerox PARC at 1970s

Summary

command interpreter

  • CLI (Command-Line Interface), 또는 command interpreter는 user가 text command을 통해 명령을 내리는 interface이다.
  • 그리고 이러한 인터페이스를 제공하는 프로그램을 셸(Shell)이라고 부른다.
    • Linux에서는 BASH (Bourne-Again SHell), CSH (C SHell), KSH (Korn Shell), TCSH
    • windows OS에서는 CMD
  • 주로 user로부터 command를 가져와 실행하지만,
  • 이미 내장되어 있는 command도 있고
  • 프로그램 이름이 곧 command인 경우도 있으며, ex)python3
  • 새 기능을 추가할 때 shell의 수정이 필요하지 않다.

Graphical User Interface, GUI

  • user 친화적인 interface이다.
  • GUI 환경에서 사용자는 키보드 타이핑, 마우스 클릭, 손가락 터치 등 다양한 방법으로 화면에 띄워진 그래픽을 조작하며, 이를 통해 컴퓨터에게 명령을 내린다.

0개의 댓글