UNPKG

14.8 kBMarkdownView Raw
1<p align="center">
2 <a href="https://jaywcjlove.github.io/linux-command">
3 <img src="./template/img/banner.svg?sanitize=true">
4 </a>
5</p>
6
7Linux Command
8---
9
10[![](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)
11
12
13550 多个 Linux 命令,内容包含 Linux 命令手册、详解、学习,值得收藏的 Linux 命令速查手册。请原谅我写了个爬虫,爬了他们家的数据 [linuxde.net](http://man.linuxde.net) ,同时进行了编辑,增加了一些数据。对他们的辛勤劳动表示敬意,个人希望能本地离线搜索,不喜欢广告,希望得到干净漂亮的预览界面,业余和工作时间需要使用大量的命令,所以干了一件看似比较愚蠢的事情,在回头有空的时候估计能做一个App?或者是命令行帮助工具?但目前还没有计划...
14
15[Web](#web-版本) | [Dash](#dash-版本) | [Alfred](#alfred-版本) | [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-插件) | [命令行工具](#命令行工具)
16
17## 开发使用
18
19可以通过 `npm` 安装 [`linux-command`](https://www.npmjs.com/package/linux-command) 包,包含所有命令的 markdown 文本,和一个[索引文件](dist/data.json)。
20
21```bash
22npm install linux-command
23```
24
25```js
26var comm = require("linux-command");
27console.log("---->", comm.ls);
28
29var alias = require("linux-command/command/alias.md");
30console.log("---->", alias); // markdown string
31```
32
33你也可以通过 CDN 来访问索引数据,和对应的命令详细内容,我将更新内容定期发布版本,提供大家使用,[UNPKG](https://unpkg.com/linux-command/) 带上版本号,将锁定版本访问,删除版本号请求数据,将会自动重定向最新版本。
34
35```shell
36# 命令索引 JSON 数据
37https://unpkg.com/linux-command/dist/data.json
38# 对应命令详情(Markdown)数据
39https://unpkg.com/linux-command/command/<命令名称>.md
40```
41
42你也可以通过 Github 的 Raw 来,获取最新的内容
43
44```shell
45# 命令索引 JSON 数据
46https://raw.githubusercontent.com/jaywcjlove/linux-command/master/dist/data.json
47# 对应命令详情(Markdown)数据
48https://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/<命令名称>.md
49```
50
51#### Chrome 插件
52
53可在[源码仓库](https://github.com/jaywcjlove/oscnews)预览效果,[Github下载 crx 文件安装](https://github.com/jaywcjlove/oscnews/releases) 或者[开源中国下载 crx 文件安装](https://gitee.com/jaywcjlove/oscnews/releases) 也可通过 Chrome Web Store 下载:
54
55[![Chrome Web Store 下载](http://jaywcjlove.github.io/sb/download/chrome-web-store.svg)](https://chrome.google.com/webstore/detail/oscnews/iheapfheanfjcemgneblljhaebonakbg)
56
57[![Chrome Web Store 下载](./assets/chrome-extensions.gif)](https://github.com/jaywcjlove/oscnews)
58
59#### Web 版本
60
61[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)
62
63扫描二维码移动端预览搜索,也可通过二维码下面链接地址打开使用。
64
65[![Linux 命令大全](./assets/qr.png)](https://jaywcjlove.github.io/linux-command/)
66
67预览搜索:**https://git.io/linux**
68
69[![Linux 命令大全](./assets/Linux.gif)](https://jaywcjlove.github.io/linux-command/)
70
71#### Alfred 版本
72
73[Alfred 版本下载](https://github.com/jaywcjlove/linux-command/releases), 下图是界面效果。
74
75[![Linux 命令大全](./assets/alfred.png)](https://github.com/jaywcjlove/linux-command/releases)
76
77#### Dash 版本
78
79由 [**@SHANG殇**](https://github.com/xinshangshangxin) 提供的 `Dash` 版本 [#91](https://github.com/jaywcjlove/linux-command/pull/91),可配合 `alfred` 玩耍,下载 [linux-command.docset.zip](https://github.com/jaywcjlove/linux-command/releases) 文件解压,点击安装即可。
80
81[![](https://user-images.githubusercontent.com/8779091/57193499-5b475d00-6f6e-11e9-879d-e7e8fdc40ced.gif)](https://github.com/jaywcjlove/linux-command/releases)
82
83#### 命令行工具
84
85- [`@chenjiandongx/how`](https://github.com/chenjiandongx/how) Python 版 [#129](https://github.com/jaywcjlove/linux-command/issues/129),由 [**@陈键冬**](https://github.com/chenjiandongx) 提供。
86- [`@chenjiandongx/pls`](https://github.com/chenjiandongx/pls) Golang 版 [#129](https://github.com/jaywcjlove/linux-command/issues/129),由 [**@陈键冬**](https://github.com/chenjiandongx) 提供。
87
88## 目录
89
90- [Linux命令分类](#linux命令分类)
91 - [文件管理](#文件管理) File Management
92 - [文件传输](#文件传输) File Transfer
93 - [文本处理](#文本处理) File Editor
94 - [备份压缩](#备份压缩) File Compression
95 - [系统管理](#系统管理) System Management
96 - [系统设置](#系统设置) System Settings
97 - [网络通讯](#网络通讯) Network Communication
98 - [磁盘管理](#磁盘管理) Disk Management
99 - [磁盘维护](#磁盘维护) Disk Maintenance
100 - [设备管理](#设备管理) Device Commands
101 - [电子邮件与新闻组](#电子邮件与新闻组)
102 - [其他命令](#其他命令) Misc Commands
103- [Node调用](#node调用)
104- [Linux学习资源整理](#linux学习资源整理)
105 - [社区网站](#社区网站)
106 - [知识相关](#知识相关)
107 - [软件工具](#软件工具)
108 - [中国开源镜像站点](#中国开源镜像站点)
109 - [游戏玩家发行版](#游戏玩家发行版)
110
111
112## Linux命令分类
113
114*这里存放Linux 命令大全并不全,你可以通过[linux-command](https://jaywcjlove.github.io/linux-command/)来搜索,它是把 [command](./assets/command) 目录里面搜集的命令,生成了静态HTML并提供预览以及索引搜索。*
115
116### 文件传输
117
118bye、ftp、ftpcount、ftpshut、ftpwho、ncftp、tftp、uucico、uucp、uupick、uuto、scp
119
120### 备份压缩
121
122ar、bunzip2、bzip2、bzip2recover、compress、cpio、dump、gunzip、gzexe、gzip、lha、restore、tar、unarj、unzip、zip、zipinfo
123
124### 文件管理
125
126diff、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
127
128### 磁盘管理
129
130cd、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
131
132### 磁盘维护
133
134badblocks、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
135
136### 系统设置
137
138alias、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
139
140### 系统管理
141
142adduser、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
143
144### 文本处理
145
146awk、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
147
148### 网络通讯
149
150dip、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
151
152### 设备管理
153
154dumpkeys、loadkeys、MAKEDEV、rdev、setleds
155
156### 电子邮件与新闻组
157
158archive、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
159
160### 其他命令
161
162yes
163
164## Linux学习资源整理
165
166
167### 社区网站
168
169- [Linux中国](https://linux.cn/) - 各种资讯、文章、技术
170- [实验楼](https://www.shiyanlou.com/) - 免费提供了Linux在线环境,不用在自己机子上装系统也可以学习Linux,超方便实用。
171- [鸟哥的linux私房菜](http://linux.vbird.org/) - 非常适合Linux入门初学者看的教程。
172- [Linux公社](http://www.linuxidc.com/) - Linux相关的新闻、教程、主题、壁纸都有。
173- [Linux Today](http://www.linuxde.net) - Linux新闻资讯发布,Linux职业技术学习!。
174
175### 知识相关
176
177- [Linux思维导图整理](http://www.jianshu.com/p/59f759207862)
178- [Linux初学者进阶学习资源整理](http://www.jianshu.com/p/fe2a790b41eb)
179- [Linux 基础入门(新版)](https://www.shiyanlou.com/courses/1)
180- [【译】Linux概念架构的理解](http://www.jianshu.com/p/c5ae8f061cfe) [En](http://oss.org.cn/ossdocs/linux/kernel/a1/index.html)
181- [Linux 守护进程的启动方法](http://www.ruanyifeng.com/blog/2016/02/linux-daemon.html)
182- [Linux编程之内存映射](https://www.shiyanlou.com/questions/2992)
183- [Linux知识点小结](https://blog.huachao.me/2016/1/Linux%E7%9F%A5%E8%AF%86%E7%82%B9%E5%B0%8F%E7%BB%93/)
184- [10大白帽黑客专用的 Linux 操作系统](https://linux.cn/article-6971-1.html)
185
186### 软件工具
187
188- [超赞的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)
189- [程序员喜欢的9款最佳的Linux文件比较工具](http://os.51cto.com/art/201607/513796.htm)
190- [提高 Linux 开发效率的 5 个工具](http://www.codeceo.com/article/5-linux-productivity-tools.html)
191- [你要了解的11款面向Linux系统的一流备份实用工具](http://os.51cto.com/art/201603/508027.htm)
192- [16个很有用的在线工具](http://www.simlinux.com/archives/264.html)
193- Adobe软件的最佳替代品 [原文在这里](https://linux.cn/article-8928-1.html)
194 - [Evince (Adobe Acrobat Reader)](https://wiki.gnome.org/Apps/Evince) 一个“支持多种文档格式的文档查看器”,可以查看PDF,还支持各种漫画书格式
195 - [Pixlr (Adobe Photoshop)](https://pixlr.com/) 一个强大的图像编辑工具
196 - [Inkscape (Adobe Illustrator)](https://inkscape.org/zh/) 一个专业的矢量图形编辑器
197 - [Pinegrow Web Editor (Adobe Dreamweaver)](https://pinegrow.com/) 一个可视化编辑制作 HTML 网站
198 - [Scribus (Adobe InDesign)](https://www.scribus.net/) 一个开源电子杂志制作软件
199 - [Webflow (Adobe Muse)](https://webflow.com/) 一款可以帮助用户不用编码就可以快速创建网站的谷歌浏览器插件。
200 - [Tupi (Adobe Animate)](http://www.maefloresta.com/portal/) 一款可以创建HTML5动画的工具。
201 - [Black Magic Fusion (Adobe After Effects)](https://www.blackmagicdesign.com) 一款先进的合成软件,广泛应用于视觉特效、广电影视设计以及3D动画设计等领域。
202
203### 中国开源镜像站点
204
205- 阿里云开源镜像站:http://mirrors.aliyun.com/
206- 网易开源镜像站:http://mirrors.163.com/
207- 搜狐开源镜像站:http://mirrors.sohu.com/
208- 北京交通大学:http://mirror.bjtu.edu.cn/ \<教育网荐\>
209- 兰州大学:http://mirror.lzu.edu.cn/ \<西北高校FTP搜索引擎\>
210- 厦门大学:http://mirrors.xmu.edu.cn/
211- 上海交通大学:http://ftp.sjtu.edu.cn/
212- 清华大学:http://mirrors.tuna.tsinghua.edu.cn/
213 - http://mirrors6.tuna.tsinghua.edu.cn/
214 - http://mirrors4.tuna.tsinghua.edu.cn/
215- 中国科学技术大学:http://mirrors.ustc.edu.cn/
216 - http://ipv4.ustc.edu.cn/ \<教育网、电信\>
217 - http://ipv6.ustc.edu.cn/ \<IPv6 only\>
218- 东北大学:http://mirror.neu.edu.cn/
219- 浙江大学:http://mirrors.zju.edu.cn/
220- 东软信息学院:http://mirrors.neusoft.edu.cn/
221
222### 游戏玩家发行版
223
224*面向游戏玩家的八款最佳 Linux 发行版,本文由开源中国整理,[原文在这里](https://my.oschina.net/editorial-story/blog/888795)*
225
226- [SteamOS](http://store.steampowered.com/livingroom/SteamOS/) [官方文档](http://store.steampowered.com/steamos/buildyourown) [镜像下载](http://repo.steampowered.com/download/)
227- [Ubuntu GamePack](https://ualinux.com/en/ubuntu-gamepack) [下载地址](https://ualinux.com/en/ubuntu-gamepack)
228- [Fedora – Games Spin](https://www.oschina.net/p/fedora_linux) [下载地址](https://labs.fedoraproject.org/en/games/)
229- [SparkyLinux – GameOver Edition](https://www.oschina.net/p/sparkylinux) [下载地址](https://sparkylinux.org/download/#special)
230- [Lakka](http://www.lakka.tv/) [下载地址](http://www.lakka.tv/disclaimer/)
231- [Game Drift Linux](http://gamedrift.org/) [下载地址](http://gamedrift.org/Download.html)
232- [Solus](https://solus-project.com) [下载地址](https://solus-project.com/download/)
233- [Manjaro Gaming Edition (mGAMe)](https://sourceforge.net/projects/mgame/) [下载地址](https://sourceforge.net/projects/mgame/)
234
235
236## Team
237
238[![小弟调调™](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)
239---|---|---
240[小弟调调™](http://wangchujiang.com) | [ZhuangZhu-74](https://github.com/ZhuangZhu-74) | [Huck Huang](https://github.com/huckhuang)