Linux
리눅스(Linux)는 컴퓨터 운영 체제이며, 그 커널을 뜻하기도 한다. 리눅스는 자유 소프트웨어와 오픈 소스 개발의 가장 유명한 표본으로 들 수 있다. 리눅스는 다중 사용자, 다중 작업(멀티태스킹), 다중 스레드를 지원하는 네트워크 운영 체제(NOS)이다.
엄밀하게 따지면 이 ‘리눅스’라는 용어는 리눅스 커널만을 뜻하지만, 리눅스 커널과 GNU 프로젝트의 라이브러리와 도구들이 포함된, 전체 운영 체제(GNU/리눅스라고도 알려진)를 나타내는 말로 흔히 쓰인다. 리눅스 배포판은 핵심 시스템 외에 대다수 소프트웨어를 포함한다. 현재 200여 종류가 넘는 배포판이 존재한다.
Category
- 리눅스 커널 (Kernel)
- Device driver
- proc -
/proc
파일 시스템 - Linux:Kernel:Key (Key Retention Service; Kernel Key Retention Service)
- Linux Security Module
- io_uring (System Call)
/proc/sys/vm/drop_caches
와도 관련된 캐시 메모리 관련 내용. /proc
디렉토리에 대한 설명. - Linux:Shadow, Linux:Passwd
- Quota - 사용자 및 그룹별 용량 관리
Ctrl + Alt + Function
으로 진입하는 콘솔화면. Open 3D Foundation
리눅스재단이 3D그래픽스, 렌더링, 저작, 개발에 연관된 프로젝트를 지원하는 Open 3D Foundation 설립. 첫번째 프로젝트로 O3DE 엔진 개발을 추진. 아파치2.0 라이센스. https://o3de.org O3DE의 초기 코드베이스는 AWS가 개발한 Lumberyard 게임엔진. AWS가 기부함.
Table of Linux Distribution
Red Hat | Red Hat Enterprise Linux (RHEL), CentOS, Scientific Linux, Oracle Linux, Rocky Linux, CBL-Mariner | |
Mandriva Linux | OpenMandriva Lx, Mageia Linux, PCLinuxOS | |
MeeGo | Tizen, Sailfish OS | |
Fedora, Amazon Linux | ||
| ||
데비안칼리 리눅스, 크런치뱅, 구름 OS, 기린, Damn Small Linux, Slax, TmaxOS, 라즈베리 파이 OS, Tails OS, Whonix, Deepin, Endless OS, MX Linux, OMV, Astra Linux | ||
Manjaro Linux, EndeavourOS, Antergos, ArchBang Linux, Chakra Linux, Steam OS, Archcraft | ||
Windows Binding | ||
Mobile | ||
Ubuntu Touch, Mobian (Debian for Mobile) | ||
Unknown | postmarketOS, Plasma Mobile, GrapheneOS, PureOS, Sailfish OS, Tizen OS, LuneOS | |
Other | OpenWRT, NixOS, Solus, Alpine Linux, openSUSE, RouterOS, webOS, Puppy Linux, postmarketOS, dahliaOS, Talos Linux (Kubernetes OS), Horizon Linux, blendOS, Gentoo Linux |
Distribution Detection
배포판 확인 방법 목록
If you have a Linux distribution or version of a listed distribution not in this gist, or one of the ones I have not directly verified, I could use the following:
- The contents of
/etc/os-release
, if it exists - Whether or not the lsb_release program is installed, and whether it's part of a "default" install
- The output of
lsb_release -a
if installed - The contents of
/etc/lsb-release
, if it exists - The contents of any other
/etc/*-release
files - Any other reliable way to determine the flavor and version of your Linux distribution, especially if none of the above exist
Directory
- Linux 디렉토리 구조
- 리눅스 파일/디렉토리 구조 파헤치기
- 리눅스 개요와 구조 & 디렉토리 구조
- Linux 디렉토리(Directory) 구조/용도/설명/이해/AIX 구조
- Linux Filesystem Hierarchy
- LINUX PROC 관련된 내역 정리된 것 2
리눅스 디렉토리의 구조는 아래와 같다.
| 최상위 디렉토리(root directory). M모사의 제품처럼 드라이브라는 개념이 리눅스에서는 존재치 않으며, 모든 디렉토리는 최상위 디렉토리를 기준으로 위치된다. |
| 대부분의 중요한 실행 파일들이 담겨 있다. |
| 시스템 부팅에 관련된 파일들이 담겨 있다. |
| 디바이스 파일들이 담겨 있다. |
| 시스템 설정 상태를 담고 있는 파일들이 담겨 있다. |
| 일반 계정 사용자들의 홈 디렉토리를 담고 있다. |
| 시스템 공유 라이브러리 파일들이 담겨 있다. |
| 다른 장치들을 마운트하는 디렉토리 |
| Removable Device |
| 프로세스 정보를 담고 있는 파일들이 담겨 있다. |
| root의 홈 디렉토리. |
| root가 시스템 운영을 위해 필요한 실행 파일을 담고 있다. |
| 임시 파일을 저장하는 디렉토리 |
| user applications3, 사용자들을 위한 대부분의 프로그램들과 설정 파일들이 담겨 있다. |
| 로그 파일 등의 시스템 관리와 관련된 정보들이 저장되는 디렉토리 |
| |
| Service Data |
Files
Command Table
alias, apropos, apt-get, aptitude, aspell, at, awk, basename, bash, bc, bg, break, builtin, bzip2, cal, case, cat, cd, cfdisk, chgrp, chmod, chown, chroot, chkconfig, cksum, clear, cmp, comm, command, continue, cp, cron, crontab, csplit, cut, date, dc, dd, ddrescue, declare, df, diff, diff3, dig, dir, dircolors, dirname, dirs, dmesg, du, echo, egrep, eject, enable, env, ethtool, eval, exec, exit, expect, expand, export, expr, false, fdformat, fdisk, fg, fgrep, file, find, fmt, fold, for, format, free, fsck, ftp, function, fuser, gawk, getopts, grep, groupadd, groupdel, groupmod, groups, gzip, hash, head, help, history, hostname, iconv, id, if, ifconfig, ifdown, ifup, import, install, iptables, jobs, join, kill, killall, less, let, ln, local, locate, logname, logout, look, lpc, lpr, lprint, lprintd, lprintq, lprm, ls, lsof, make, makefile, man, mkdir, mkfifo, mkisofs, mknod, more, mount, mtools, mtr, mv, mmv, netstat, nice, nl, nohup, notify-send, nslookup, od, open, op, passwd, paste, pathchk, ping, pkill, popd, pr, printcap, printenv, printf, ps, pushd, pwd, quota, quotacheck, quotactl, ram, rcp, read, readarray, readonly, reboot, rename, renice, remsync, return, rev, rlogin, rm, rmdir, rpm, rsh, rsync, screen, scp, sdiff, sed, select, seq, set, sftp, shift, shopt, shutdown, sleep, slocate, sort, source, split, ssh, strace, su, sudo, sum, suspend, symlink, sync, tail, tar, tee, test, time, times, touch, top, traceroute, trap, tr, true, tsort, tty, type, ulimit, umask, umount, unalias, uname, unexpand, uniq, units, unset, unshar, until, updatedb, uptime, useradd, userdel, usermod, users, uuencode, uudecode, v, vdir, vi (vim), vmstat, wait, watch, wc, whereis, which, while, who, whoami, wget, write, xargs, xd-open, yes, yum, zip, |
Gnu software packages (GNU 소프트웨어 목록에 없는 내용도 포함된다.) |
3dldf, a2ps, acct, acm, adns, aetherspace, alive, anubis, archimedes, aris, aspell, auctex, autoconf, autoconf-archive, autogen, automake, avl, ballandpaddle, barcode, bash, bayonne, bazaar, bc, bfd, binutils, bison, bool, bpel2owfn, c-graph, ccache, ccaudio, ccrtp, ccscript, cflow, cgicc, chess, cim, classpath, classpathx, clisp, cobol, combine, commoncpp, complexity, config, coreutils, cpio, cppi, cssc, dap, dc, ddd, ddrescue, dejagnu, denemo, dia, dico, diction, diffutils, dionysus, dismal, djgpp, dmd, dominion, dotgnu, dotgnu-forum, dotgnu-pnet, dr-geo, ed, edma, electric, emacs, emacs-muse, emms, enscript, eprints, epsilon, fdisk, ferret, findutils, fontutils, freedink, freefont, freeipmi, freetalk, fribidi, gama, garpd, gawk, gcal, gcc, gcide, gcl, gcompris, gdb, gdbm, gengen, gengetopt, gettext, gforth, ggradebook, ghostscript, gift, gimp, gleem, glib, global, glpk, glue, gmediaserver, gmorph, gmp, gnash, gnat, gnats, gnatsweb, gnome, gnowsys, gnu-arch, gnu-c-manual, gnu-crypto, gnu-queue, gnuae, gnubatch, gnubg, gnubiff, gnubik, gnucap, gnucash, gnucomm, gnue, gnufm, gnugo, gnuit, gnujdoc, gnujump, gnukart, gnulib, gnumach, gnumed, gnumeric, gnump3d, gnun, gnunet, gnupg, gnupod, gnuprologjava, gnuradio, gnurobots, gnuschool, gnushogi, gnuskies, gnusound, gnuspeech, gnuspool, gnustandards, gnustep, gnutls, gnutrition, gnuzilla, goldwater, goodbye, goptical, gorm, gpaint, gperf, gprolog, grabcomics, greg, grep, gretl, groff, grub, gsasl, gsegrafix, gsl, gsrc, gss, gtick, gtk+, gtypist, guile, guile-dbi, guile-gnome, guile-gtk, guile-ncurses, guile-rpc, gurgle, gv, gvpe, gxmessage, gzip, halifax, health, hello, help2man, hp2xx, httptunnel, hurd, hyperbole, icecat, idutils, ignuit, indent, inetutils, intlfonts, jacal, java-getopt, jdresolve, jel, jpeginfo, jwhois, kawa, kopi, lastlog, leg, less, ld, ldconfig, libc (glibc), libcdio, libextractor, libffcall, libgcrypt, libiconv, libidn, libmatheval, libmicrohttpd, libredwg, librejs, libsigsegv, libtasn1, libtool, libunistring, libxmi, lightning, lilypond, linux-libre, liquidwar6, lispintro, logrotate, lrzsz, lsh, m4, macchanger, mailman, mailutils, make, marst, maverik, mc, mcron, mcsim, mdk, mediagoblin, melting, metaexchange, metahtml, mifluz, mig, miscfiles, mit-scheme, moe, motti, mpc, mpfr, mtools, myserver, nana, nano, ncurses, nettle, network, ocrad, octave, oleo, orgadoc, osip, packaging, panorama, paperclips, parallel, parted, pascal, patch, paxutils, pcb, pdf, pem, pexec, pgccfd, phantom_home, phpgroupware, pies, pipo, pkg-config, plotutils, polyxmass, powerguru, proxyknife, pspp, psychosynth, pth, pythonwebkit, qexo, quickthreads, r, radius, rcs, readline, recutils, reftex, rottlog, rpge, rush, samba, sane, sather, scm, screen, sed, sendmail, serveez, sharutils, shishi, shmm, shtool, sipwitch, slib, smalltalk, smarteiffel, snakecharmer, social, solfege, sort, sourceinstall, spacechart, speex, spell, split, sqltutor, src-highlite, stalkerfs, stow, stump, superopt, swbis, systemctl, sysutils, talkfilters, tar, tee, termcap, termutils, teseq, teximpatient, texinfo, texmacs, thales, time, tramp, trans-coord, trueprint, units, unzip, unrtf, userv, uucp, vc-changelog, vc-dwim, vcdimager, vera, vmgen, vmslib, vsftpd, w3, wb, wdiff, websocket4j, webstump, wget, which, womb, xaos, xargs, xboard, xhippo, xlogmaster, xmlat, xnee, xorriso, zile |
ETC
Basic
- Linux:Basic - 리눅스 시스템 관리자 기초.
Linux Kernel Basic
- [추천] Introduction · Linux Kernel Basic 6 (archive)
이 책은 리눅스 환경에서 애플리케이션을 운영하고 있는 서버 개발자, 개발과 운영을 함께 하고 있는 데브옵스(DevOps), 그리고 리눅스 시스템의 전반적인 운영을 담당하고 있는 시스템 엔지니어들을 대상으로 한다.
- Introduction
- 시스템 구성 정보 확인하기
- top를 통해 살펴보는 프로세스 정보들 (top)
- Load Average와 시스템 부하 (Load Average)
- free 명령이 숨기고 있는 것들 (Free)
- swap, 메모리 증설의 포인트 (swap)
- NUMA, 메모리관리의 새로운 세계 (NUMA)
- TIME_WAIT 소켓이 서비스에 미치는 영향
- TCP Keepalive를 이용한 세션 유지
- TCP 재전송과 타임아웃
- dirty page가 I/O에 끼치는 영향
- I/O작업이 지나가는 관문, I/O스케줄러
- 애플리케이션 성능 측정과 튜닝
- 부록 A. 커널 디버깅을 위한 커널 컴파일
- 부록 B. strace를 통한 애플리케이션 분석
- 부록 C. tcpdump와 와이어샤크를 통한 TCP 패킷 분석
Troubleshooting
No space left on device
결과만 말하면 inode 문제다. 자세한 내용은 No space left on device 항목 참조.
오디오 깨짐 현상
Linux:Audio#Restart alsa 항목 참조. 간단히:
See also
- Linux:Kernel
- GNU
- LTTng: Linux Trace Toolkit Next Generation.
Favorite site
- 리눅스 공식 사이트
- 리눅스 한글 공식 사이트
- 리눅스커널 공식 사이트
- Wikipedia (en) 리눅스에 대한 설명
- [추천] 임베디드 리눅스 시스템 포럼
- 리눅스 커널 1백만개 커밋 메시지 검색하기 - Linux, typesense
Tutorials
Guide
Applicatons
How to use (TIP)
- 리눅스의 에러코드 리스트 및 그 의미
- 로그파일(syslog)실무가이드
- HARD DISK UPGRADE mini HOWTO 11
- LFALiNUX Wiki 12
- Linux 100가지 의문 (리눅스 매거진) 13
- 리눅스 시스템 관리자 가이드 Version 0.6.2 14
- 슈퍼유저코리아 리눅스 설치구축 및 운용 실무 15
- [추천] Linux Cross Reference
- Linux 시스템 정보 확인하기
- 리눅스 명령어 종합 정리 (cat,more,head,tail,bash,type,which)
- insford's JspWiki | 자주쓰는 리눅스 명령어
Article
- 리눅스 커널에서의 Rust 지원을 위한 RFC | GeekNews
- (RFC) Rust support
- 커널의 두 번째 언어로 Rust를 사용해야 하는 이유를 정리.
- 코어나 주요 커널 하위시스템을 다시 작성하는게 아닌, 드라이버 및 그와 비슷한 "Leaf" 모듈들을 Rust로 작성할 수 있도록 하기 위함.
References
-
Linux_Distribution_Detection_-_GitHub.pdf ↩
-
Linux_-_proc_and_sys_directory.pdf ↩
-
http://askubuntu.com/questions/11286/what-do-the-abbreviations-etc-and-usr-mean ↩
-
http://www.linuxtopia.org/online_books/linux_beginner_books/linux_filesystem/opt.html ↩
-
http://stackoverflow.com/questions/12649355/what-does-opt-mean-as-in-the-opt-directory-is-it-an-abbreviation ↩
-
Jihooyim1.gitbooks.io_-_Linux_Kernel_Basic.zip ↩
-
Web.mit.edu-rhel_isa_ko-4.tar.gz ↩
-
Red_Hat_Enterprise_Linux-6-Performance_Tuning_Guide-ko-KR.pdf ↩
-
System_adm_for_50.txt.zip ↩
-
Linux_-sysadmin-_list_of_command.pdf ↩
-
KLDPWiki_Linuxdoc_Sgml_Hard-Disk-Upgrade.pdf ↩
-
Wiki_falinux_com.zip ↩
-
Linux_magazine_qna_100.zip ↩
-
Wiki.kldp.org-SysAdminGuide.zip ↩
-
Www.superuser.co.kr.7z ↩