"CLI, 프롬프트"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 14개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{다른뜻|공통언어기반 CLI}}
;command-line interface; CLI, command-line user interface, console user interface, character user interface; CUI
;command-line interface; CLI, command-line user interface, console user interface, character user interface; CUI
;명령 줄 인터페이스, 명령어 인터페이스
;명령 줄 인터페이스, 명령어 인터페이스, 커맨드라인, 명령줄


;command prompt; prompt
;command prompt; prompt
14번째 줄: 15번째 줄:
*컴퓨터가 입력을 받아들일 준비가 되었다는 것을 나타내는 신호
*컴퓨터가 입력을 받아들일 준비가 되었다는 것을 나타내는 신호


https://upload.wikimedia.org/wikipedia/en/thumb/8/8a/COMMAND_LINE.svg/320px-COMMAND_LINE.svg.png
https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/COMMAND_LINE.svg/330px-COMMAND_LINE.svg.png


;CentOS 예시
;CentOS 예시
<source lang='dos'>
<syntaxhighlight lang='console'>
[root@jmnote ~]#
[root@zetawiki ~]#
</source>
</syntaxhighlight>
:→ root = 사용자명
:→ zetawiki = [[호스트명]]
:→ ~ = 현재위치
:→ # = [[슈퍼유저]]
 
;우분투 예시
<syntaxhighlight lang='console'>
root@zetawiki:~#
</syntaxhighlight>
:→ root = 사용자명
:→ zetawiki = [[호스트명]]
:→ ~ = 현재위치
:→ # = [[슈퍼유저]]


;윈도우 예시
;윈도우 예시
<source lang='dos'>
<syntaxhighlight lang='console'>
C:\Users\jmnote>
C:\Users\zetawiki>
</source>
</syntaxhighlight>


;Python
;Python
<source lang='dos'>
<syntaxhighlight lang='console'>
Python 2.7.6 (default, Feb  7 2014, 13:42:15)  
Python 2.7.6 (default, Feb  7 2014, 13:42:15)  
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Type "help", "copyright", "credits" or "license" for more information.
>>>  
>>>  
</source>
</syntaxhighlight>


;MySQL
;MySQL
<source lang='dos'>
<syntaxhighlight lang='console'>
Welcome to the MySQL monitor.  Commands end with ; or \g.
Welcome to the MySQL monitor.  Commands end with ; or \g.
,,, (생략)
... (생략)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


mysql>
mysql>
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[윈도우 CMD 명령어]]
{{z컬럼3|
*[[명령어]]
* [[]]
*[[]]
* [[TUI]]
*[[쉘 스크립트]]
* [[GUI]]
*[[GUI]]
* [[bash]]
*[[파워쉘]]
* [[$PS1]]
*[[bash]]
* [[명령어]]
*[[텍스트]]
* [[텍스트]]
*[[$PS1]]
* [[파워쉘]]
*[[명령줄 자동완성]]
* [[쉘 스크립트]]
* [[명령줄 자동완성]]
* [[윈도우 CMD 명령어]]
* [[프롬프트 엔지니어링]]
}}


==참고 자료==
==참고==
*https://en.wikipedia.org/wiki/Command-line_interface
*https://en.wikipedia.org/wiki/Command-line_interface
*http://terms.naver.com/entry.nhn?docId=781062&cid=520&categoryId=520
*http://terms.naver.com/entry.nhn?docId=781062&cid=520&categoryId=520

2023년 10월 25일 (수) 13:27 기준 최신판

  다른 뜻에 대해서는 공통언어기반 CLI 문서를 참조하십시오.
command-line interface; CLI, command-line user interface, console user interface, character user interface; CUI
명령 줄 인터페이스, 명령어 인터페이스, 커맨드라인, 명령줄
command prompt; prompt
명령 프롬프트; 프롬프트, 명령어 프롬프트

1 CLI[ | ]

  • 텍스트 작업환경
  • 텍스트 터미널을 통해 사용자와 컴퓨터가 상호 작용하는 방식
  • 작업 명령은 사용자가 키보드 등을 통해 문자열 형태로 입력, 출력도 문자열 형태

2 프롬프트[ | ]

  • 명령 대기 상태를 표시하는 기호
  • 컴퓨터가 입력을 받아들일 준비가 되었다는 것을 나타내는 신호

 

CentOS 예시
[root@zetawiki ~]#
→ root = 사용자명
→ zetawiki = 호스트명
→ ~ = 현재위치
→ # = 슈퍼유저
우분투 예시
root@zetawiki:~#
→ root = 사용자명
→ zetawiki = 호스트명
→ ~ = 현재위치
→ # = 슈퍼유저
윈도우 예시
C:\Users\zetawiki>
Python
Python 2.7.6 (default, Feb  7 2014, 13:42:15) 
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
MySQL
Welcome to the MySQL monitor.  Commands end with ; or \g.
... (생략)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}