Linux
lastmod 2026-09-22created 2014-01-05128 edits
Linux is a computer operating system, and the term also refers to its kernel. Linux is one of the best-known examples of free software and open source development. Linux is a network operating system (NOS) that supports multiple users, multitasking, and multithreading.
Strictly speaking, the term ‘Linux’ refers only to the Linux kernel, but it is commonly used to refer to the whole operating system (also known as GNU/Linux), which includes the Linux kernel and the libraries and tools of the GNU project. Linux distributions include most software beyond the core system. There are currently more than 200 distributions.
Category
- Linux kernel (Kernel)
- Device driver
- proc -
/procfile system - Linux:Kernel:Key (Key Retention Service; Kernel Key Retention Service)
- Linux Security Module
- io_uring (System Call)
/proc/sys/vm/drop_caches. /proc directory. - Linux:Shadow, Linux:Passwd
- Quota - Disk space management per user and group
Ctrl + Alt + Function. Open 3D Foundation
The Linux Foundation established the Open 3D Foundation to support projects related to 3D graphics, rendering, authoring, and development. Its first project is development of the O3DE engine. Apache 2.0 license. https://o3de.org O3DE's initial codebase is the Lumberyard game engine developed by AWS. Donated by 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 | |
| Kali Linux, CrunchBang, Gooroom OS, Kylin, Damn Small Linux, Slax, TmaxOS, Raspberry Pi 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, Tiny Core Linux, Floppinux | |
Distribution Detection
List of ways to detect the distribution
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 -aif installed - The contents of
/etc/lsb-release, if it exists - The contents of any other
/etc/*-releasefiles - Any other reliable way to determine the flavor and version of your Linux distribution, especially if none of the above exist
Directory
- Linux directory structure
- Digging into the Linux file/directory structure
- Linux overview and structure & directory structure
- Linux directory (Directory) structure/purpose/description/understanding/AIX structure
- Linux Filesystem Hierarchy
- A summary of LINUX PROC-related details 2
The Linux directory structure is as follows.
| | The top-level directory (root directory). Linux has no concept of drives as in the products of a certain company M; every directory is located relative to the top-level directory. |
| | Contains most of the important executables. |
| | Contains files related to system booting. |
| | Contains device files. |
| | Contains files that hold the system configuration. |
| | Contains the home directories of regular account users. |
| | Contains system shared library files. |
| | Directory where other devices are mounted |
| | Removable Device |
| | Contains files that hold process information. |
| | Home directory of root. |
| | Contains executables that root needs to operate the system. |
| | Directory for storing temporary files |
| | user applications3, contains most programs and configuration files for users. |
| | Directory where information related to system administration, such as log files, is stored |
| | |
| | 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 (Also includes items not in the GNU software list.) |
| 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
Install
- Partitioning - ArchWiki
- ArchLinux:Installation - Installation.
- ArchLinux:Dirver - Driver installation.
- ArchLinux:Setup - Initial setup.
Basic
- Linux:Basic - Linux system administrator basics.
Linux Kernel Basic
- [Recommended] Introduction · Linux Kernel Basic 6 (archive)
This book is aimed at server developers who run applications on Linux, DevOps engineers who handle both development and operations, and system engineers responsible for the overall operation of Linux systems.
- Introduction
- Checking system configuration information
- Process information seen through top (top)
- Load Average and system load (Load Average)
- What the free command hides (Free)
- swap, the key point for adding memory (swap)
- NUMA, a new world of memory management (NUMA)
- The impact of TIME_WAIT sockets on services
- Keeping sessions alive with TCP Keepalive
- TCP retransmission and timeouts
- The impact of dirty pages on I/O
- The I/O scheduler, the gateway for I/O operations
- Application performance measurement and tuning
- Appendix A. Compiling the kernel for kernel debugging
- Appendix B. Analyzing applications with strace
- Appendix C. Analyzing TCP packets with tcpdump and Wireshark
Installation error : Invalid Magic Number
- (Solved) Invalid magic number; you need to load the KERNEL first | Linux.org
- boot - “Invalid magic number, you need to load the kernel first” on an existent and previously working Ubuntu installation (not live USB issue) - Ask Ubuntu
- "Invalid Magic Number" and "You need to load the kernel first" errors when installing Kubuntu. : r/linux4noobs
Check the checksum of the installation image (ios).
Troubleshooting
No space left on device
In short, it is an inode problem. See No space left on device for details.
Distorted audio
See Linux:Audio#Restart alsa. In short:
General fixes when USB boot does not work
See Dd#General fixes when USB boot does not work.
See also
- Linux:Kernel
- GNU
- LTTng - Linux Trace Toolkit Next Generation.
- Asterinas - A new Linux-compatible kernel project
- Tilck - A Linux-compatible minimal kernel
- Tiny Core Linux - A 23MB Linux distribution including a graphical desktop
- Apptron - A local-first development platform that runs in the browser
- Witr - A tool that explains why a process is running on a Linux system
Favorite site
- Official Linux site
- Official Korean Linux site
- Official Linux kernel site
- Wikipedia (en) description of Linux
- [Recommended] Embedded Linux system forum
- Search 1 million Linux kernel commit messages - Linux, typesense
Tutorials
- Red Hat Enterprise Linux 4 - System Administration Guide 7
- [Recommended] Red Hat Enterprise Linux 6 Performance Tuning Guide 8
Guide
Applicatons
How to use (TIP)
- List of Linux error codes and their meanings
- Practical guide to log files (syslog)
- HARD DISK UPGRADE mini HOWTO 11
- LFALiNUX Wiki 12
- Linux 100 questions (Linux Magazine) 13
- Linux System Administrator's Guide Version 0.6.2 14
- SuperuserKorea: Linux installation, setup, and operation in practice 15
- [Recommended] Linux Cross Reference
- Checking Linux system information
- Comprehensive summary of Linux commands (cat,more,head,tail,bash,type,which)
- insford's JspWiki | Frequently used Linux commands
Article
- RFC for Rust support in the Linux kernel | GeekNews
- (RFC) Rust support
- Summarizes why Rust should be used as the kernel's second language.
- The goal is not to rewrite the core or major kernel subsystems, but to allow drivers and similar "Leaf" modules to be written in 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 ↩
- /etc/group
- /etc/login.defs
- /etc/passwd
- /etc/securetty
- /etc/shadow
- Adduser
- Advanced Configuration and Power Interface
- Alpine Linux
- Anbox
- Apache:Httpd:HowToInstall
- APM Stack
- Apptron
- Arch Linux
- ArchLinux:Backlight
- Asterinas
- AutoFS
- Automounter
- Bash
- Bazzite
- Berkeley Packet Filter
- Bourne shell
- C++
- Chroot
- Common Unix Printing System
- Computer Sciences
- ComputerNetwork:Basic
- CoreOS
- Cygwin
- Disk quota
- Do-release-upgrade
- DoomPDF
- ECryptfs
- Filesystem in Userspace
- Finger
- Floppinux
- GDNative
- Gentoo Linux
- Gnome-menus
- GNU
- GrapheneOS
- GRPC
- Install name tool
- IntelliJ IDEA
- Io uring
- Kivy
- KVM
- Last
- LibGDX
- Library
- Line Printer Daemon protocol
- Linux distribution
- Linux namespaces
- Linux Unified Key Setup
- Linux Virtual Server
- Linux:Audio
- Linux:Basic
- Linux:Battery
- Linux:Cache
- Linux:DiskIO
- Linux:HighDPI
and 84 more