컴퓨터 소개 - Linux 중심

컴퓨터 소개 - Linux 중심

2022-10-19 last update

15 minutes reading linux computerscience beginners webdev
Linux는 1991년 9월 17일 Linus Torvalds에 의해 처음 출시된 운영 체제 커널인 Linux 커널을 기반으로 하는 오픈 소스 Unix 계열 운영 체제입니다. Linux는 일반적으로 Linux 배포판으로 패키징됩니다.

내용의 테이블



What is a computer
Computer Components
Introduction to Linux
Linux Operating system
Benefit of Linux
Basic Linux commands
Resources


컴퓨터란?

A computer is an electronic device that manipulates information, or data. It has the ability to store, retrieve, and process data. You may already know that you can use a computer to type documents, send email, play games, and browse the Web. You can also use it to edit or create spreadsheets, presentations, and even videos.


컴퓨터 부품

Hardware is any part of your computer that has a physical structure, such as the keyboard or mouse. It also includes all of the computer's internal parts, which you can see in the image below.

Software is any set of instructions that tells the hardware what to do and how to do it. Examples of software include web browsers, games, and word processors. Source


리눅스 소개

Linux is an operating system, like macOS or Windows. It is also the most popular Open Source and free, as in freedom, operating system. Linux is also special because there’s not just “one Linux”, like it happens on Windows or macOS. Instead, we have distributions.

A “distro” is made by a company or organization and packages the Linux core with additional programs and tooling. For example you have Debian, Red Hat, and Ubuntu, probably the most popular. Source






Linux 운영 체제

The Linux operating system comprises several different pieces:

🎯 Bootloader – The software that manages the boot process of your computer. For most users, this will simply be a splash screen that pops up and eventually goes away to boot into the operating system.

🎯 Kernel – This is the one piece of the whole that is actually called ‘Linux’. The kernel is the core of the system and manages the CPU, memory, and peripheral devices. The kernel is the lowest level of the OS.

🎯 Init system – This is a sub-system that bootstraps the user space and is charged with controlling daemons. One of the most widely used init systems is systemd, which also happens to be one of the most controversial. It is the init system that manages the boot process, once the initial booting is handed over from the bootloader (i.e., GRUB or GRand Unified Bootloader).

🎯 Daemons – These are background services (printing, sound, scheduling, etc.) that either start up during boot or after you log into the desktop.

🎯 Graphical server – This is the sub-system that displays the graphics on your monitor. It is commonly referred to as the X server or just X.

🎯 Desktop environment – This is the piece that the users actually interact with. There are many desktop environments to choose from (GNOME, Cinnamon, Mate, Pantheon, Enlightenment, KDE, Xfce, etc.). Each desktop environment includes built-in applications (such as file managers, configuration tools, web browsers, and games).

🎯 Applications – Desktop environments do not offer the full array of apps. Just like Windows and macOS, Linux offers thousands upon thousands of high-quality software titles that can be easily found and installed. Most modern Linux distributions (more on this below) include App Store-like tools that centralize and simplify application installation. For example, Ubuntu Linux has the Ubuntu Software Center (a rebrand of GNOME Software) which allows you to quickly search among the thousands of apps and install them from one centralized location. Source


리눅스의 장점


오픈 소스

Linux의 주요 장점 중 하나는 오픈 소스 운영 체제, 즉 소스 코드를 누구나 쉽게 사용할 수 있다는 것입니다. 코딩 능력이 있는 사람은 누구나 어떤 목적으로든 코드를 기여, 수정, 향상 및 배포할 수 있습니다.


보안

Linux는 Windows와 같은 다른 운영 체제에 비해 더 안전합니다. Linux는 일부 맬웨어가 있기 때문에 완전히 안전하지는 않지만 다른 것보다 덜 취약합니다. 응용 프로그램이나 바이러스에 관계없이 Linux의 모든 프로그램은 암호 형식으로 관리자의 승인이 필요합니다. 비밀번호를 입력하지 않으면 바이러스가 실행되지 않습니다. Linux에는 바이러스 백신 프로그램이 필요하지 않습니다.


오래된 컴퓨터 시스템 되살리기

Linux는 오래된 컴퓨터 시스템을 방화벽, 라우터, 백업 서버 또는 파일 서버 등으로 사용하거나 활용할 수 있도록 도와줍니다. 시스템 기능에 따라 사용할 수 있는 배포판이 많이 있습니다. 저가형 시스템에 Puppy Linux를 사용할 수 있기 때문입니다.


소프트웨어 업데이트

Linux에서는 더 많은 수의 소프트웨어 업데이트가 발생합니다. 이러한 소프트웨어 업데이트는 다른 운영 체제의 업데이트보다 훨씬 빠릅니다. Linux에서 업데이트는 큰 문제나 우려 없이 쉽게 수행할 수 있습니다.


커스터마이징

다른 운영 체제에 비해 큰 이점을 제공하는 기능은 사용자 지정입니다. 오픈 소스 운영 체제이므로 모든 기능을 사용자 정의하고 필요에 따라 기능을 추가 또는 삭제할 수 있습니다. 뿐만 아니라 다양한 월페이퍼와 매력적인 아이콘 테마를 설치하여 시스템을 멋지게 꾸밀 수 있습니다.


다양한 분포

Linux 배포판이라고도 하는 많은 배포판을 사용할 수 있습니다. 사용자에게 다양한 선택이나 풍미를 제공합니다. 필요에 따라 비스트로를 선택할 수 있습니다. Linux의 일부 비스트로에는 Fedora, Ubuntu, Arch Linux, Debian, Linux Mint 등이 있습니다. 초보자라면 Ubuntu 또는 Linux Mint를 사용할 수 있습니다. 당신이 좋은 프로그래머라면 데비안이나 페도라를 사용할 수 있습니다.


무료 사용(저비용)

Linux는 웹에서 무료로 다운로드하여 사용할 수 있습니다. Linux 및 많은 소프트웨어가 GNU General Public License와 함께 제공되므로 라이센스를 구입할 필요가 없습니다. 이것은 Windows 및 기타 운영 체제에 비해 Linux가 직면한 주요 이점 중 하나임이 입증되었습니다. Linux의 경우가 아닌 Windows의 라이센스를 구입하려면 막대한 비용을 지출해야 합니다.


대규모 커뮤니티 지원

흥분한 사용자의 포럼은 다른 사용자가 직면하고 있는 문제를 돕고 해결하기 위해 웹에서 만들어집니다. 가능하면 언제 어디서든 당신을 도와줄 전담 프로그래머가 많이 있습니다.


안정성(신뢰성)

Linux는 높은 안정성을 제공하므로 짧은 시간 후에 재부팅할 필요가 없다는 장점도 있습니다. Linux 시스템은 속도가 느려지거나 멈추는 경우가 거의 없습니다. Windows에서와 마찬가지로 응용 프로그램을 설치 또는 제거하거나 소프트웨어를 업데이트한 후 시스템을 재부팅해야 하지만 Linux에서는 그렇지 않습니다. Linux 시스템에서 방해받지 않고 작업할 수 있습니다. Source


기본 Linux 명령

// linux commands
ls - list files in directory (ls -l for long listing)
cd - change directory (cd .. to go up one directory)
pwd - print working directory
mkdir - make a directory (mkdir -p to make parent directories)
rm - remove a file (rm -r to remove a directory)
cp - copy a file (cp -r to copy a directory)
mv - move a file (mv -r to move a directory)
cat - print the contents of a file
grep - search for a string in a file
wc - word count (wc -l to count lines)
sort - sort lines of text
uniq - report or omit repeated lines
head - output the first part of files (head -n 10 to output first 10 lines)
tail - output the last part of files (tail -n 10 to output last 10 lines)
find - find files (find . -name "*.js" to find all js files in current directory)


자원

How to install linux