Software, settings, next steps · 소프트웨어, 설정, 다음 단계
Installing software
- On Linux you rarely download installers. A package manager fetches and installs software for you.
- Debian and Ubuntu use
apt; Fedora usesdnf; macOS users often addbrew:
- One command, and the tool (and anything it needs) is installed and ready.
소프트웨어 설치
- Linux에서는 드문 경우installer를 다운로드하지 않습니다. 패키지 매니저가 소프트웨어를 가져와 설치해 줍니다.
- Debian과 Ubuntu는
apt을 사용합니다; Fedora는dnf을 사용합니다; macOS 사용자는 종종brew을 추가합니다:
sudo apt update
sudo apt install git
- 명령 하나면, 도구(및 그것이 필요로 하는 것)가 설치되어 준비됩니다.
Installing with a package manager · 패키지 관리자를 설치하는 방법
apt update refreshes the catalogue, apt install fetches the tool and its needs. · apt update는 카탈로그를 업데이트하고, apt install는 도구와 필요한 의존성을 가져옵니다.
The environment
- The shell remembers settings in environment variables. The most important is
PATH— the list of folders it searches for commands. - Your personal settings live in a file called
.bashrcin your home folder. Editing it lets you create shortcuts (aliases) and change how the shell behaves.
환경
- 셸은 환경 변수에 설정을 기억합니다. 가장 중요한 것은
PATH— 명령을 검색하는 폴더 목록입니다. - 개인 설정은 홈 폴더 내 **
.bashrc**이라는 파일에 있습니다. 편집하면 단축키(alias)를 생성하거나 셸 동작을 변경할 수 있습니다.
Where to go next
- You now know how to navigate, read, search, combine, and manage files — the core of the command line.
- Keep a real terminal open and use it for small tasks; speed comes with habit.
- Next steps: learn
gitfor version control, a text editor likenanoorvim, and a little shell scripting to automate your favourite commands. Well done!
다음 단계
- 이제 파일 탐색, 읽기, 검색, 결합 및 관리를 하는 방법을 알았습니다 — это command line의 핵심입니다.
- 실제 터미널을 열고 작은 작업에 사용하세요; 속도는 습관에 의해 Comes합니다.
- 다음 단계: 버전 관리를 위한
git, 텍스트 에디터nano또는vim, 그리고 좋아하는 명령을 자동화하기 위한 소량의 셸 스크립팅을 배우세요. 잘했습니다!
Now you try
aptneeds the real internet, so it is not in our simulator — but a list of installed packages is saved ininstalled.txt.- Use the tools from this course to
sortthe list andwcto count it. The same handful of commands work on any text data.
이제 직접 해보기
apt은 실제 인터넷이 필요하므로 시뮬레이터에 없으나, 설치된 패키지의 목록은installed.txt에 저장되어 있습니다.- 이 과정의 도구들을 사용하여
sort列表를 만들고wc로 세어보세요. 같은 몇 가지 명령들은 어떤 텍스트 데이터에도 적용됩니다.
Common mistakes
- Read a command's
--helpormanpage before using unfamiliar options. - Test a risky command on a copy of your files first.
흔한 실수
- unfamiliar 옵션을 사용하기 전 해당 명령의
--help또는man페이지를 읽어보세요. - 위험한 명령을 먼저 파일 복사본에서 테스트하세요.
apt list --installed is a real command, not part of our simulator — but here its output is saved in installed.txt. Put the package names in alphabetical order with sort installed.txt. · apt list --installed은 실제 명령어이며 우리 시뮬레이터의 일부가 아닙니다 — 하지만 여기에서는出其输出保存在installed.txt中。包名按字母顺序排列使用sort installed.txt。
How many packages are installed? Count the lines with cat installed.txt | wc -l — the same file tools work on any data. · 설치된 패키지가 몇 개입니까? cat installed.txt | wc -l으로 줄을 세세요 — 동일한 파일 도구들은 어떤 데이터에서도 작동합니다.