Skip to content

AlexanderJ-Carter/linux-command

 
 

Repository files navigation

Fork 自 jaywcjlove/linux-command,感谢 @jaywcjlove。原仓库为 Linux 命令大全,采用 MIT 协议。Fork 仅作学习与备份,版权归原作者。


Linux Command

GitHub NPM Container

当前仓库搜集了 600 多个 Linux 命令,生成 Web 站点便于查阅,内容包含 Linux 命令手册、详解与学习,来自网络与网友补充,适合作为速查手册。版权归原作者,Fork 仅作学习与备份。

Web 版本

推荐镜像 hycer.cn · chaoxi.online · alapi.cn · srebro.cn 等,更多见 镜像 #649

其它版本

Chrome 插件、Alfred、Dash、Krunner、Android 等见 原仓库 README

Docker 部署

Container Image

通过 Docker 部署 linux-command 网站(GHCR):

docker pull ghcr.io/jaywcjlove/linux-command:latest
docker run --name linux-command --rm -d -p 9665:3000 ghcr.io/jaywcjlove/linux-command:latest
# Or
docker run --name linux-command -itd -p 9665:3000 ghcr.io/jaywcjlove/linux-command:latest

在浏览器中访问:

http://localhost:9665/

Vercel / Netlify

Deploy with Vercel Deploy to Netlify

宝塔面板、1Panel 等部署步骤见 原仓库 README

Linux 命令分类

command 目录为 Markdown 命令文档,可生成 HTML 并在 在线站 搜索查看。

文件传输

bye、ftp、ftpcount、ftpshut、ftpwho、ncftp、tftp、uucico、uucp、uupick、uuto、scp

备份压缩

ar、bunzip2、bzip2、bzip2recover、compress、cpio、dump、gunzip、gzexe、gzip、lha、restore、tar、unarj、unzip、zip、zipinfo

文件管理

diff、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

磁盘管理

cd、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

磁盘维护

badblocks、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

系统设置

alias、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

系统管理

adduser、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

文本处理

awk、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

网络通讯

dip、getty、mingetty、ppp-off、smbd(samba daemon)、telnet、uulog、uustat、uux、cu、dnsconf、efax、httpd、ip、ifconfig、mesg、minicom、nc、netconf、netconfig、netstat、ping、ping6、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

设备管理

dumpkeys、loadkeys、MAKEDEV、rdev、setleds

电子邮件与新闻组

archive、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

其他命令

yes

开发使用

可通过 npm 安装 linux-command,包含所有命令的 markdown 与 索引文件

npm install linux-command
var comm = require("linux-command");
console.log("---->", comm.ls);

var alias = require("linux-command/command/alias.md");
console.log("---->", alias);

也可通过 CDN UNPKG 获取。

# 命令索引 JSON
https://unpkg.com/linux-command/dist/data.json
# 对应命令详情(Markdown)
https://unpkg.com/linux-command/command/<命令名称>.md

或通过 Github Raw 获取最新内容。

# 命令索引 JSON
https://raw.githubusercontent.com/jaywcjlove/linux-command/master/dist/data.json
# 对应命令详情(Markdown)
https://raw.githubusercontent.com/jaywcjlove/linux-command/master/command/<命令名称>.md

Linux 学习资源

社区网站

知识相关

软件工具

致谢

感谢 @jaywcjlove 及所有 Contributors

License

Licensed under the MIT License.

About

当前仓库搜集了 600 多个 Linux 命令,生成 Web 站点便于查阅,内容包含 Linux 命令手册、详解与学习,来自网络与网友补充,适合作为速查手册。版权归原作者,Fork 仅作学习与备份。

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Markdown 94.6%
  • HTML 4.1%
  • Other 1.3%