The shell and the prompt · 쉘과 프롬프트
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · 이 페이지는 최신 브라우저(SharedArrayBuffer 지원)가 필요합니다. Chrome, Edge, Firefox 또는 Safari를 최신 버전으로 업데이트해 주세요.
English
The prompt
- When the terminal is ready, it shows a prompt and waits:
- That tells you who you are (
student), the computer (linux), and the folder you are in (~, your home). - You type a command after the
$, press Enter, and the computer runs it.
한국어
프롬프트
- 터미널이 준비되면 프롬프트가 표시되고 기다립니다:
student@linux:~$
- 이는 사용자 (
student), 컴퓨터 (linux), 그리고 현재 위치인 폴더 (~, 홈 디렉토리)를 알려줍니다. $뒤에 명령어를 입력한 후 Enter를 누르면 컴퓨터에서 실행됩니다.
English
Where am I?
- The command
pwdprints your current folder — your "you are here" on the map:
- Press the ▶ on that example to try it. (
~is short for your home folder,/home/student.)
한국어
현재 어디에 있나요?
pwd명령어는 현재 폴더를 출력하여 "현재 위치"를 확인하게 해줍니다:
pwd
- 예제의 ▶ 버튼을 눌러 직접 시도해 보세요. (
~은 홈 폴더를 나타내는 기호이며,/home/student입니다.)
English
Make the computer talk
echosimply prints back what you type. It is the classic first command:
- Run it, then try the two tasks below.
한국어
컴퓨터에게 말하기
echo는 입력한 내용을 그대로 출력할 뿐입니다. 가장 고전적인 첫 번째 명령어입니다:
echo Hello from the shell
- 실행해 보고 아래 두 가지 작업을尝试해 보세요.
English
Common mistakes
- Commands are case-sensitive:
LSis notls. - The shell runs one command per line when you press Enter.
한국어
흔한 실수
- 명령어는 대문자와 소문자를 구분합니다:
LS과ls은 다릅니다. - Shell은 Enter를 누를 때마다 줄마다 하나의 명령어를 실행합니다.
The prompt is waiting for a command. Type pwd (print working directory) to see which folder you are in, then click Run. · 프롬프트가 명령어를 기다리고 있습니다. 현재 어떤 폴더에 있는지 확인하기 위해 pwd(print working directory)를 입력한 후 Run을 클릭하십시오.
echo prints back whatever you give it. Use it to print the word hello. · echo가 주어진 것을 그대로 출력합니다.单词 hello를 출력하는 데 사용하십시오.