{"id":21534414,"url":"https://github.com/TangNPC/linux","last_synced_at":"2025-10-05T13:31:17.985Z","repository":{"id":181333079,"uuid":"301048325","full_name":"HeyTang233/linux","owner":"HeyTang233","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-04T05:46:43.000Z","size":2622,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-24T03:10:24.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HeyTang233.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["jaywcjlove"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":"npm/linux-command","community_bridge":null,"custom":"https://jaywcjlove.github.io/sponsor.html"}},"created_at":"2020-10-04T05:40:22.000Z","updated_at":"2020-10-04T05:46:46.000Z","dependencies_parsed_at":"2023-07-15T02:36:30.734Z","dependency_job_id":null,"html_url":"https://github.com/HeyTang233/linux","commit_stats":null,"previous_names":["heytang233/linux"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyTang233%2Flinux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyTang233%2Flinux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyTang233%2Flinux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeyTang233%2Flinux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HeyTang233","download_url":"https://codeload.github.com/HeyTang233/linux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235399026,"owners_count":18983817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T03:10:38.922Z","updated_at":"2025-10-05T13:31:12.409Z","avatar_url":"https://github.com/HeyTang233.png","language":"HTML","funding_links":["https://github.com/sponsors/jaywcjlove","https://tidelift.com/funding/github/npm/linux-command","https://jaywcjlove.github.io/sponsor.html"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://jaywcjlove.github.io/linux-command\"\u003e\n    \u003cimg src=\"./template/img/banner.svg?sanitize=true\"\u003e\n  \u003c/a\u003e\n  \u003ch1\u003eLinux Command\u003c/h1\u003e\n\u003c/p\u003e\n\n[![](https://jaywcjlove.github.io/sb/ico/linux.svg)](https://jaywcjlove.github.io/linux-command/) [![](https://jaywcjlove.github.io/sb/ico/weibo.svg)](http://weibo.com/pc175) [![](https://jaywcjlove.github.io/sb/ico/npm.svg)](https://www.npmjs.com/package/linux-command)\n\n当前仓库搜集了 570 多个 Linux 命令，是一个非盈利性的仓库，生成了一个 web 网站方便使用，目前网站没有任何广告，内容包含 Linux 命令手册、详解、学习，内容来自网络和网友的补充，非常值得收藏的 Linux 命令速查手册。版权归属原作者，对任何法律问题及风险不承担任何责任，没有任何商业目的，如果认为侵犯了您的版权，请来信告知。我不能完全保证内容的正确性。通过使用本站内容带来的风险与我无关。当使用本站时，代表您已接受了本站的使用条款和隐私条款。\n\n[Web](#web-版本) | [Dash](#dash-版本) | [Alfred](#alfred-版本) | [KDE/Krunner](https://github.com/roachsinai/krunner-linuxcommands) | [Android](https://github.com/Ernest-su/LinuxCmd.git) | [Mac/Win/Linux](https://github.com/haloislet/linux-command) | [Chrome Plugin](#chrome-插件) | [命令行工具](#命令行工具)\n\n#### Web 版本\n\n[Github Web](http://jaywcjlove.github.io/linux-command/) | [OSChina Web](http://jaywcjlove.gitee.io/linux-command/) | [Githack](https://raw.githack.com/jaywcjlove/linux-command/gh-pages/index.html) | [Statically](https://cdn.statically.io/gh/jaywcjlove/linux-command/gh-pages/index.html)\n\n扫描二维码移动端预览搜索，也可通过二维码下面链接地址打开使用，下面网站是通过 Github Action 自动更新。\n\n[![Linux 命令大全](./assets/qr.png)](https://jaywcjlove.github.io/linux-command/)\n\n预览搜索：**https://git.io/linux**\n\n[![Linux 命令大全](./assets/Linux.gif)](https://jaywcjlove.github.io/linux-command/)\n\n#### Chrome 插件\n\n可在[源码仓库](https://github.com/jaywcjlove/oscnews)预览效果，[Github下载 crx 文件安装](https://github.com/jaywcjlove/oscnews/releases) 或者[开源中国下载 crx 文件安装](https://gitee.com/jaywcjlove/oscnews/releases) 也可通过 Chrome Web Store 下载：\n\n[![Chrome Web Store 下载](http://jaywcjlove.github.io/sb/download/chrome-web-store.svg)](https://chrome.google.com/webstore/detail/oscnews/iheapfheanfjcemgneblljhaebonakbg)\n\n[![Chrome Web Store 下载](./assets/chrome-extensions.gif)](https://github.com/jaywcjlove/oscnews)\n\n#### Alfred 版本\n\n[Alfred 版本下载](https://github.com/jaywcjlove/linux-command/releases)， 下图是界面效果。 \n\n[![Linux 命令大全](./assets/alfred.png)](https://github.com/jaywcjlove/linux-command/releases)\n\n#### Dash 版本\n\n由 [**@SHANG殇**](https://github.com/xinshangshangxin) 提供的 `Dash` 版本 [#91](https://github.com/jaywcjlove/linux-command/pull/91)，可配合 `alfred` 玩耍，下载 [linux-command.docset.zip](https://jaywcjlove.github.io/linux-command/linux-command.docset.zip) 文件解压，点击安装即可。\n\n[![](https://user-images.githubusercontent.com/8779091/57193499-5b475d00-6f6e-11e9-879d-e7e8fdc40ced.gif)](https://github.com/jaywcjlove/linux-command/releases)\n\n#### 命令行工具\n\n- [`@chenjiandongx/how`](https://github.com/chenjiandongx/how) Python 版 [#129](https://github.com/jaywcjlove/linux-command/issues/129)，由 [**@陈键冬**](https://github.com/chenjiandongx) 提供。\n- [`@chenjiandongx/pls`](https://github.com/chenjiandongx/pls) Golang 版 [#129](https://github.com/jaywcjlove/linux-command/issues/129)，由 [**@陈键冬**](https://github.com/chenjiandongx) 提供。\n\n\n## 目录\n\n- [目录](#目录)\n- [Linux命令分类](#linux命令分类)\n  - [文件传输](#文件传输)\n  - [备份压缩](#备份压缩)\n  - [文件管理](#文件管理)\n  - [磁盘管理](#磁盘管理)\n  - [磁盘维护](#磁盘维护)\n  - [系统设置](#系统设置)\n  - [系统管理](#系统管理)\n  - [文本处理](#文本处理)\n  - [网络通讯](#网络通讯)\n  - [设备管理](#设备管理)\n  - [电子邮件与新闻组](#电子邮件与新闻组)\n  - [其他命令](#其他命令)\n- [开发使用](#开发使用)\n- [Linux学习资源整理](#linux学习资源整理)\n  - [社区网站](#社区网站)\n  - [知识相关](#知识相关)\n  - [软件工具](#软件工具)\n  - [中国开源镜像站点](#中国开源镜像站点)\n  - [游戏玩家发行版](#游戏玩家发行版)\n- [Team](#team)\n\n\n## Linux命令分类\n\n*这里存放Linux 命令大全并不全，你可以通过[linux-command](https://jaywcjlove.github.io/linux-command/)来搜索，它是把 [command](./assets/command) 目录里面搜集的命令，生成了静态HTML并提供预览以及索引搜索。*\n\n### 文件传输\n\nbye、ftp、ftpcount、ftpshut、ftpwho、ncftp、tftp、uucico、uucp、uupick、uuto、scp\n\n### 备份压缩\n\nar、bunzip2、bzip2、bzip2recover、compress、cpio、dump、gunzip、gzexe、gzip、lha、restore、tar、unarj、unzip、zip、zipinfo\n\n### 文件管理\n\ndiff、diffstat、file、find、git、gitview、ln、locate、lsattr、mattrib、mc、mcopy、mdel、mdir、mktemp、mmove、mread、mren、mshowfat、mtools、mtoolstest、mv、od、paste、patch、rcp、rhmask、rm、slocate、split、tee、tmpwatch、touch、umask、whereis、which、cat、chattr、chgrp、chmod、chown、cksum、cmp、cp、cut、indent\n\n### 磁盘管理\n\ncd、df、dirs、du、edquota、eject、lndir、ls、mcd、mdeltree、mdu、mkdir、mlabel、mmd、mmount、mrd、mzip、pwd、quota、quotacheck、quotaoff、quotaon、repquota、rmdir、rmt、stat、tree、umount\n\n### 磁盘维护\n\nbadblocks、cfdisk、dd、e2fsck、ext2ed、fdisk、fsck.ext2、fsck、fsck.minix、fsconf、hdparm、losetup、mbadblocks、mformat、mkbootdisk、mkdosfs、mke2fs、mkfs.ext2、mkfs、mkfs.minix、mkfs.msdos、mkinitrd、mkisofs、mkswap、mpartition、sfdisk、swapoff、swapon、symlinks、sync\n\n### 系统设置\n\nalias、apmd、aumix、bind、chkconfig、chroot、clock、crontab、declare、depmod、dircolors、dmesg、enable、eval、export、fbset、grpconv、grpunconv、hwclock、insmod、kbdconfig、lilo、liloconfig、lsmod、minfo、mkkickstart、modinfo、modprobe、mouseconfig、ntsysv、passwd、pwconv、pwunconv、rdate、resize、rmmod、rpm、set、setconsole、setenv、setup、sndconfig、SVGAText Mode、timeconfig、ulimit、unalias、unset\n\n### 系统管理\n\nadduser、chfn、chsh、date、exit、finger、free、fwhois、gitps、groupdel、groupmod、halt、id、kill、last、lastb、login、logname、logout、logrotate、newgrp、nice、procinfo、ps、pstree、reboot、renice、rlogin、rsh、rwho、screen、shutdown、sliplogin、su、sudo、suspend、swatch、tload、top、uname、useradd、userconf、userdel、usermod、vlock、w、who、whoami、whois\n\n### 文本处理\n\nawk、col、colrm、comm、csplit、ed、egrep、ex、fgrep、fmt、fold、grep、ispell、jed、joe、join、look、mtype、pico、rgrep、sed、sort、spell、tr、uniq、vi、wc\n\n### 网络通讯\n\ndip、getty、mingetty、ppp-off、smbd(samba daemon)、telnet、uulog、uustat、uux、cu、dnsconf、efax、httpd、ip、ifconfig、mesg、minicom、nc、netconf、netconfig、netstat、ping、pppstats、samba、setserial、shapecfg(shaper configuration)、smbd(samba daemon)、statserial(status ofserial port)、talk、tcpdump、testparm(test parameter)、traceroute、tty(teletypewriter)、uuname、wall(write all)、write、ytalk、arpwatch、apachectl、smbclient(samba client)、pppsetup\n\n### 设备管理\n\ndumpkeys、loadkeys、MAKEDEV、rdev、setleds\n\n### 电子邮件与新闻组\n\narchive、ctlinnd、elm、getlist、inncheck、mail、mailconf、mailq、messages、metamail、mutt、nntpget、pine、slrn、X WINDOWS SYSTEM、reconfig、startx(start X Window)、Xconfigurator、XF86Setup、xlsatoms、xlsclients、xlsfonts\n\n### 其他命令\n\nyes\n\n\n## 开发使用\n\n可以通过 `npm` 安装 [`linux-command`](https://www.npmjs.com/package/linux-command) 包，包含所有命令的 markdown 文本，和一个[索引文件](dist/data.json)。\n\n```bash\nnpm install linux-command\n```\n\n```js\nvar comm = require(\"linux-command\");\nconsole.log(\"----\u003e\", comm.ls);\n\nvar alias = require(\"linux-command/command/alias.md\");\nconsole.log(\"----\u003e\", alias); // markdown string\n```\n\n你也可以通过 CDN 来访问索引数据，和对应的命令详细内容，我将更新内容定期发布版本，提供大家使用，[UNPKG](https://unpkg.com/linux-command/) 带上版本号，将锁定版本访问，删除版本号请求数据，将会自动重定向最新版本。\n\n```shell\n# 命令索引 JSON 数据\nhttps://unpkg.com/linux-command/dist/data.json\n# 对应命令详情（Markdown）数据\nhttps://unpkg.com/linux-command/command/\u003c命令名称\u003e.md\n```\n\n你也可以通过 Github 的 Raw 来，获取最新的内容\n\n```shell\n# 命令索引 JSON 数据\nhttps://raw.githubusercontent.com/jaywcjlove/linux-command/master/dist/data.json\n# 对应命令详情（Markdown）数据\nhttps://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/\u003c命令名称\u003e.md \n```\n\n## Linux学习资源整理\n\n\n### 社区网站\n\n- [Linux中国](https://linux.cn/) - 各种资讯、文章、技术\n- [实验楼](https://www.shiyanlou.com/) - 免费提供了Linux在线环境，不用在自己机子上装系统也可以学习Linux，超方便实用。\n- [鸟哥的linux私房菜](http://linux.vbird.org/) - 非常适合Linux入门初学者看的教程。\n- [Linux公社](http://www.linuxidc.com/) - Linux相关的新闻、教程、主题、壁纸都有。\n- [Linux Today](http://www.linuxde.net) - Linux新闻资讯发布，Linux职业技术学习！。\n\n### 知识相关\n\n- [Linux思维导图整理](http://www.jianshu.com/p/59f759207862)\n- [Linux初学者进阶学习资源整理](http://www.jianshu.com/p/fe2a790b41eb)\n- [Linux 基础入门（新版）](https://www.shiyanlou.com/courses/1)\n- [【译】Linux概念架构的理解](http://www.jianshu.com/p/c5ae8f061cfe) [En](http://oss.org.cn/ossdocs/linux/kernel/a1/index.html)\n- [Linux 守护进程的启动方法](http://www.ruanyifeng.com/blog/2016/02/linux-daemon.html)\n- [Linux编程之内存映射](https://www.shiyanlou.com/questions/2992)\n- [Linux知识点小结](https://blog.huachao.me/2016/1/Linux%E7%9F%A5%E8%AF%86%E7%82%B9%E5%B0%8F%E7%BB%93/)\n- [10大白帽黑客专用的 Linux 操作系统](https://linux.cn/article-6971-1.html)\n\n### 软件工具\n\n- [超赞的Linux软件](https://www.gitbook.com/book/alim0x/awesome-linux-software-zh_cn/details) Github仓库[Zh](https://github.com/alim0x/Awesome-Linux-Software-zh_CN) [En](https://github.com/VoLuong/Awesome-Linux-Software)\n- [程序员喜欢的9款最佳的Linux文件比较工具](http://os.51cto.com/art/201607/513796.htm)\n- [提高 Linux 开发效率的 5 个工具](http://www.codeceo.com/article/5-linux-productivity-tools.html)\n- [你要了解的11款面向Linux系统的一流备份实用工具](http://os.51cto.com/art/201603/508027.htm)\n- [16个很有用的在线工具](http://www.simlinux.com/archives/264.html)\n- Adobe软件的最佳替代品 [原文在这里](https://linux.cn/article-8928-1.html)\n  - [Evince (Adobe Acrobat Reader)](https://wiki.gnome.org/Apps/Evince) 一个“支持多种文档格式的文档查看器”，可以查看PDF，还支持各种漫画书格式\n  - [Pixlr (Adobe Photoshop)](https://pixlr.com/) 一个强大的图像编辑工具\n  - [Inkscape (Adobe Illustrator)](https://inkscape.org/zh/) 一个专业的矢量图形编辑器\n  - [Pinegrow Web Editor (Adobe Dreamweaver)](https://pinegrow.com/) 一个可视化编辑制作 HTML 网站\n  - [Scribus (Adobe InDesign)](https://www.scribus.net/) 一个开源电子杂志制作软件\n  - [Webflow (Adobe Muse)](https://webflow.com/) 一款可以帮助用户不用编码就可以快速创建网站的谷歌浏览器插件。\n  - [Tupi (Adobe Animate)](http://www.maefloresta.com/portal/) 一款可以创建HTML5动画的工具。\n  - [Black Magic Fusion (Adobe After Effects)](https://www.blackmagicdesign.com) 一款先进的合成软件，广泛应用于视觉特效、广电影视设计以及3D动画设计等领域。\n\n### 中国开源镜像站点\n\n- 阿里云开源镜像站：http://mirrors.aliyun.com/\n- 网易开源镜像站：http://mirrors.163.com/\n- 搜狐开源镜像站：http://mirrors.sohu.com/\n- 北京交通大学：http://mirror.bjtu.edu.cn/ \\\u003c教育网荐\\\u003e\n- 兰州大学：http://mirror.lzu.edu.cn/ \\\u003c西北高校FTP搜索引擎\\\u003e\n- 厦门大学：http://mirrors.xmu.edu.cn/\n- 上海交通大学：http://ftp.sjtu.edu.cn/\n- 清华大学：http://mirrors.tuna.tsinghua.edu.cn/\n  - http://mirrors6.tuna.tsinghua.edu.cn/\n  - http://mirrors4.tuna.tsinghua.edu.cn/\n- 中国科学技术大学：http://mirrors.ustc.edu.cn/ \n  - http://ipv4.ustc.edu.cn/ \\\u003c教育网、电信\\\u003e\n  - http://ipv6.ustc.edu.cn/ \\\u003cIPv6 only\\\u003e\n- 东北大学：http://mirror.neu.edu.cn/\n- 浙江大学：http://mirrors.zju.edu.cn/\n- 东软信息学院：http://mirrors.neusoft.edu.cn/\n\n### 游戏玩家发行版\n\n*面向游戏玩家的八款最佳 Linux 发行版，本文由开源中国整理，[原文在这里](https://my.oschina.net/editorial-story/blog/888795)*。\n\n- [SteamOS](http://store.steampowered.com/livingroom/SteamOS/) [官方文档](http://store.steampowered.com/steamos/buildyourown) [镜像下载](http://repo.steampowered.com/download/)\n- [Ubuntu GamePack](https://ualinux.com/en/ubuntu-gamepack) [下载地址](https://ualinux.com/en/ubuntu-gamepack)\n- [Fedora – Games Spin](https://www.oschina.net/p/fedora_linux) [下载地址](https://labs.fedoraproject.org/en/games/)\n- [SparkyLinux – GameOver Edition](https://www.oschina.net/p/sparkylinux) [下载地址](https://sparkylinux.org/download/#special)\n- [Lakka](http://www.lakka.tv/) [下载地址](http://www.lakka.tv/disclaimer/)\n- [Game Drift Linux](http://gamedrift.org/) [下载地址](http://gamedrift.org/Download.html)\n- [Solus](https://solus-project.com) [下载地址](https://solus-project.com/download/)\n- [Manjaro Gaming Edition (mGAMe)](https://sourceforge.net/projects/mgame/) [下载地址](https://sourceforge.net/projects/mgame/)\n\n\n## Team\n\n[![小弟调调™](https://github.com/jaywcjlove.png?size=100)](https://github.com/jaywcjlove) | [![ZhuangZhu-74](https://github.com/ZhuangZhu-74.png?size=100)](https://github.com/ZhuangZhu-74) | [![Huck Huang](https://github.com/huckhuang.png?size=100)](https://github.com/huckhuang)\n---|---|---\n[小弟调调™](http://wangchujiang.com) | [ZhuangZhu-74](https://github.com/ZhuangZhu-74) | [Huck Huang](https://github.com/huckhuang)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTangNPC%2Flinux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTangNPC%2Flinux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTangNPC%2Flinux/lists"}