Skip to content

benben17/linux-command

Repository files navigation

Buy me a coffee NPM Download Docker Image Size (latest by date)

This repository collects over 600 Linux commands and is a non-profit repository. It generates a web website for easy use. Currently, the website has no ads. The content includes Linux command manuals, detailed explanations, and learning materials. The content comes from the internet and supplements from netizens. It is a very worthwhile Linux command quick reference manual to save. Copyright belongs to the original author. We do not assume any responsibility for any legal issues or risks. There is no commercial purpose. If you believe your copyright has been infringed, please let me know by email. I cannot fully guarantee the correctness of the content. Any risks arising from the use of this site's content are not my responsibility. By using this site, you accept the site's terms of use and privacy policy.

Web Version

Github Web | Githack | Statically | 中文

Scan the QR code to preview and search on mobile, or use the link below the QR code to open and use. The following website is automatically updated thr ough Github Action.

Linux 命令大全

You can freely deploy the web version, which is very simple. Just clone the gh-pages branch code to your static server. You can also take the Markdown files from the command directory and generate HTML yourself. You can also use the Docker deployment method below to deploy the web version.

⚠️ For the deployed static website, it's hoped that you keep a GitHub address link, so that everyone can maintain the command documentation together, making the documentation more complete and rich. Of course, if you delete all relevant information from this site, I don't really mind. By default, I allow you to do as you wish, and I don't take any responsibility. If you have also deployed a copy, you can put the link below :).

Docker Deployment

Docker Image Version (latest by date) Docker Image Size (latest by date) Docker Pulls

Easily deploy the linux-command website via docker.

docker pull benben17/linux-command
docker run --name linux-command --rm -d -p 9665:3000 benben17/linux-command:latest
# Or
docker run --name linux-command -itd -p 9665:3000 benben17/linux-command:latest

Access the following URL in your browser

http://localhost:9665/

Vercel

You can deploy to Vercel with one click using the button below:

Deploy with Vercel

Deploy Result

Access through the domain assigned by Vercel, or bind your own domain in the settings.

Netlify

You can deploy to Netlify with one click using the button below:

Deploy to Netlify Button

Deploy Result

Access through the domain assigned by Netlify, or bind your own domain in the settings.

Baota Panel

You can quickly deploy linux-command through the Baota Panel application store

Deployment Steps

Prerequisites

  • Only applicable to Baota Panel 9.2.0 and above
  • Install Baota Panel. Go to the Baota Panel official website, select the official version script and download to install

Deployment

  1. Log in to the Baota Panel, click Docker in the left menu bar
  2. On first use, you will be prompted to install Docker and Docker Compose services. Click "Install Now". If already installed, ignore this step.
  3. After installation, find linux-command in Docker-Application Store-Utilities, click Install, or search for linux directly in the search box.
  4. Set the domain and other basic information, click Confirm
  • Note:
    • Name: Application name, default linuxcommand_random_characters
    • Version selection: default latest
    • Domain: If you need to access via domain, please enter your domain here
    • Allow external access: If you need to access directly via IP+Port, check this option. If you have already set a domain, do not check this option
    • Port: Default 3000, can be modified
    • CPU Limit: 0 means unlimited, set according to actual needs
    • Memory Limit: 0 means unlimited, set according to actual needs
  1. After submission, the panel will automatically initialize the application, which takes about 1-3 minutes. You can access it after initialization is complete.

Access linux-command

  • If you have entered a domain, please enter the domain in the browser to access, such as http://demo.linux-command, to access the linux-command page.
  • If you choose IP+Port access, please enter http://<Baota Panel IP>:6806 in the browser address bar to access the linux-command page.

1Panel Panel

You can quickly deploy linux-command through the 1Panel application store

Deployment Steps

Prerequisites

  • Only applicable to 1Panel v1.10.32-lts and above

  • Install 1Panel Panel. Go to the 1Panel official website and select the official version installation script to download and install

Deployment

  1. Log in to the 1Panel panel, click Application Store in the left menu bar
  2. Find linux-command in Application Store-Development Tools, click Install, or search directly in the search box
  3. Click Confirm
  • Note:
    • Name: Application name, default linux-command
    • Version: Default to the latest release
    • Port: Default 40255
    • External port access: If you need to access directly via IP+Port, check this option, which will also open the server firewall port
    • CPU Limit: Default is 0, unlimited, can be set according to actual needs
    • Memory Limit: Default is 0, unlimited, can be set according to actual needs
  1. After submission, the panel will automatically install and start the application. The application status will change to Installing, which takes about 1-3 minutes. Please wait patiently for installation to complete
  2. When the application status changes to Running, click the website on the left side. On first use, you need to install OpenResty, click Install
  3. After installation, click Create in the upper left corner of the Website menu bar, and select Reverse Proxy in the pop-up page
  4. Enter your domain in the Main Domain field, the website code will be automatically generated. Select http for proxy, enter 127.0.0.1:40255 as the proxy address, and click Confirm
  5. (Optional) Configure the website you created. You can configure https access as needed to enhance access security

Access linux-command

  • If you have reverse proxied the website through OpenResty and entered the domain, please enter the domain in the browser to access
  • If you selected External port access, please enter http://<1Panel IP>:40255 in the browser to access

Linux Command Classification

The Linux commands directory stored here is not complete. You can search through linux-command. It takes the commands collected in the command directory, generates static HTML, and provides preview and index search.

File Transfer

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

Backup and Compression

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

File Management

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

Disk Management

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

Disk Maintenance

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

System Settings

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

System Administration

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

Text Processing

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

Network Communication

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

Device Management

dumpkeys、loadkeys、MAKEDEV、rdev、setleds

Email and Newsgroups

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

Other Commands

yes

Development Usage

You can install the linux-command package via npm, which contains markdown text for all commands and an index file.

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

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

You can also access the index data and corresponding command detailed content through CDN. I regularly publish new versions to provide for everyone's use. UNPKG with version number will lock version access. Removing the version number from the request will automatically redirect to the latest version.

# Command index JSON data
https://unpkg.com/linux-command/dist/data.json
# Corresponding command details (Markdown) data
https://unpkg.com/linux-command/command/<command-name>.md

You can also get the latest content through Github's Raw

# Command index JSON data
https://raw.githubusercontent.com/benben17/linux-command/master/dist/data.json
# Corresponding command details (Markdown) data
https://raw.githubusercontent.com/benben17/linux-command/master/command/<command-name>.md

Linux Learning Resources

Community Websites

  • Linux China - Various news, articles, and technical content
  • LabEx - Provides free online Linux environment. You can learn Linux without installing a system on your own machine. Super convenient and practical.
  • Bird's Linux Private Kitchen - A very suitable tutorial for beginners learning Linux.
  • Linux Community - Has Linux-related news, tutorials, themes, and wallpapers.
  • Linux Today - Linux news and information release, Linux professional technology learning!
  • X-CMD - Core with Shell + AWK to enhance native command output and interactive experience. Introduction and usage tutorials for various commands and modern software packages. Daily technology news and information. Welcome to browse and follow!

Software Tools

China Open Source Mirror Sites

Gaming-Oriented Linux Distributions

Eight best Linux distributions for gamers, organized by Open Source China. Original article here.

Team

jaywcjlove jaywcjlove

Thanks to All Contributors

As always, thanks to our outstanding contributors!

小弟调调 ZhuangZhu-74 Mend Renovate Huck Huang lutixiaya L 圆头圆脑 clay-wangzhi 烟草的香味 Glett 丛林意志 Jayin Tang Shan Chenyu __FresHmaN Fubin Zhang Zijing Zhang JiangHuDao ernest dulltackle 谈笑风生间 zyy2477 rgshare Jeremy2214 MioMuse SteveLauC James Wang Xrtero YEUNGCHIE duzhuoshanwai lavaicer loverainye alfred Qliangw 沙漠之子 Wang Yujia 永恒 Shell H Liu will VVatt jcdj666 gggwvg Dazhuangw Alterem YH Xingwen Zhang RichardLCD QinShower Pan, Wen-Ming KrisMagic Skuld FunKeen BingCoke Ein Verne kmephistoh NanoNova kassadin juemuren4449 jqz3.tech illmons hululu1068 leo lewis1573 linuxwd Ricardowang cole dufu miniwater noodles2hg Forever121 cxalc dayday Deny dongpohezui ecjtusbs focksor gang.yang gedune geekeryy gesty ghy githubwxz hanwei gcluffy hotdogc1017 huangyao oliver 七朔 孤城落寞 尘埃 Wei Xu Loofra 扶苏如是 ReZero 极简XksA 淘金的小宇 移动的红烧肉 继刚 老犁 Kyofin 谢民皆 远方 bycs Yidan Wang rexlin600 sfwwslm shc shuangcui snovey tangke 可爱软萌喵 UniqueDing waiwai weibk Lingfeng Wang yanyx zjlovezj zodiac zoomdong zuixin369 zyimm Jack Jack.A.Black Jelly Nexchard Karl Horky LaudOak Legend LexsionLee hengli Lin Wuxian zlshi6 Lix Lucien Wang mwei Marnm XBG 0x_000 AlenPann azroy Cui Yang DYH1319 DaYangtuo247 Danny Lucas Zhao Divenire Dongyan Qian Everything-is-one Frankie Guiying Li Hang 重劍無鋒 HighScorePlayer Huntout Zhang Xiaodong DENG Xonline-Tech Xu Chunyang Yan Sheng Yunbin Liu 0Knot (0KN) Zlanghu One Person’s Revelry amit794 Ashine azureology bell bestlaw66 brinkqiang c2ch chaofan MinsonLee Mystic Q.Ben Zheng Ray Yee Rining Wu Robigus Rocher 殇 SMVirus SevenSteven Azolla RoachZhao Spaghetti-C SunX T-TRz879 Na Meng Wingrez

License

Licensed under the MIT License.

About

Linux Command Encyclopedia & Search Tool: Manuals, Detailed Explanations, Learning, and Collections.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors

Languages