Git Product home page Git Product logo

jaywcjlove / linux-command Goto Github PK

View Code? Open in Web Editor NEW
29.0K 29.0K 5.8K 2.57 GB

Linux命令大全搜索工具,内容包含Linux命令手册、详解、学习、搜集。https://git.io/linux

Home Page: https://jaywcjlove.github.io/linux-command

License: MIT License

HTML 3.40% Stylus 0.42% JavaScript 0.73% Markdown 95.43% Dockerfile 0.02%
bash chrome chrome-extension command-line gh-pages linux linux-command ls screen screenshot search ssh tools web-tools

linux-command's Issues

Krunner 插件支持

我想写一个KDE平台的插件,但是不清楚如何访问这个网址https://wangchujiang.com/linux-command/#!kw=ab比如提供的关键字为ab如何得到对应的查询结果?好像结果只支持异步显示。

Alfred版本使用问题

显示 Couldn't find the 'node' binary
symlink it to /usr/local/bin

请问这个是什么原因,如何解决?

添加workflow后,使用时错误

安装插件后,在alfred下开启debug显示如果错误:

Starting debug for 'Linux Command'

[2019-04-28 14:24:30][ERROR: input.scriptfilter] Code 134: dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib
Referenced from: /usr/local/bin/node
Reason: image not found
/bin/bash: line 2: 80451 Abort trap: 6 /usr/local/bin/node <<-'CODE'
require("./linux")("c");
CODE

请问这是因为node不支持es2015语法吗?

CentOS7 中管理防火墙配置的工具

你好,CentOS 7 中有一个管理防火墙的命令行工具 firewall-cmd,具体用法我也不是很清楚,只知道

  • 添加规则 firewall-cmd --permanent --zone=public --add-port=80/tcp
  • 删除规则 firewall-cmd --permanent --zone=public --remove-port=80/tcp
  • 重新载入 firewall-cmd --reload

可否考虑把这个命令加进去呢?

讨论一些问题,欢迎参与

今天有空仔细看了一边README文档,作为pr提交者之一想和大家讨论一些问题。

  • linuxde.net 我之前学命令时也常去,不过最近确实不更新了。这项目可以对原有的一些问题,比如过时的内容、错字等进行修改,在此对发起及维护者的热情和无私表示感谢;)

  • 是否有必要设置一个标准的linux版本作为帮助信息来源的标准?linux版本不同,相应的帮助信息也会有出入。

  • 是否有必要在显著位置提示用户帮助信息可能与您实际查看的帮助信息有出入

  • 有些收录的命令是bash内建命令,比如help,builtin等。是否考虑分离它们作为单独的一部分进行维护。还是分别为它们标明是bash内建命令?有的特殊内建命令(比如 . : [)可能创建不了文件。

关闭wifi为什么搜索返回会变快?

在本机部署了一个,把index.js 里面的fetch url改成了本地的地址
但是发现有wifi的时候,afred搜素返回很慢,要好几秒
但是关掉wifi后就正常了

alfy.fetch('http://linuxcmd.com/data.json',
           {maxAge: 86400000}).then(result => {
    var commands = [];
    var e = 0;
    for(var a in result){
      ++e;
      result[a]['id'] = e;
      commands.push(result[a]);
...

htop命令没有收录

htop是一款比top还好用的监控工具,

不知道处了提供命令还要提供啥==

求告知==

Pushing code!! → Err: Cloning into '[email protected]@gh-pages.cache\[email protected]!jaywcjlove!linux-command.git'... Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

我执行npm start报的错误。或者执行 npm run deploy报的错误

Pushing code!! → Err: Cloning into 'node_modules_gh-pages@[email protected]\[email protected]!jaywcjlove!linux-command.git'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

linux-command 命令tar

tar命令,tar.gz格式的方式二,“一次性打包并压缩、解压并解包”,其下内容的“打包并压缩”与“解压并解包”,未换行。
浏览器未Chrome,版本为73.0.3683.103(正式版本) (64 位)。

useage of mdadm

mdadm 用于建设,管理和监控RAID阵列

用法:

mdadm --create device options...
用未使用的设备,创建raid选项,
mdadm --assemble device options...
合并先前创建的raid阵列。
mdadm --build device options...
创建或合并没有元数据的一个raid。
mdadm --manage device options...
对现有阵列进行更改
mdadm --misc options... devices
报告或修改各种MD相关设备的。
mdadm --grow options device
调整以激活的raid阵列
mdadm --incremental device
从一个raid中,添加/删除设备
mdadm --monitor options...
监视一个或多个raid阵列的变化
mdadm device options...
--manage的简写

mdadm --create 主要参数

--auto=yes :决定建立后面接的软体磁盘阵列设备,亦即/ dev/md0的,/ dev/md1上...
--raid-devices=N :使用几个磁盘 (partition) 作为磁盘阵列的设备
--spare-devices=N :使用几个磁盘作用磁盘阵列的备用设备
--level=[015] :设置磁盘阵列的等级,常用0,1,5

mdadm --manage 主要参数

--add    :会将后面的设备加入到这个MD中!
--remove :会将后面的设备由这个MD中移除
--fail   :会将后面的设备设定成为出错的状态

[root@www ~]# mdadm --create --help #查看创建raid阵列的参数

[root@www ~]# mdadm --manage --help #查看管理raid阵列的参数

[root@www ~]# mdadm --create --auto=yes /dev/md0 --level=5 --raid-devices=4 --spare-devices=1 /dev/hda{6,7,8,9,10} #创建raid阵列

[root@www ~]# mdadm --detail /dev/md0 #查看raid阵列

[root@www ~]# mdadm --manage /dev/md0 --remove /dev/hda6 #从raid阵列中,删除一个磁盘

[root@www ~]# mdadm --manage /dev/md0 --add /dev/hda5 #向raid阵列中,加入一个磁盘

About the abbreviation

When we know "pwd" is the abbreviation of "print work directory", it will be easy to remember. So it's a good idea to add "rmdir" -> "remove directory", "chmod" -> "change mode", "du" -> "disk usage" and so on.

搜索结果的排序问题

例如搜索“w",会发现第一个是 ”apropos - 在 whatis 数据库中查找字符串“
而”w”命令,排在很后面。
这个是就设计成这样子的嘛?

about cp command

By alias command, you will see the following info in some os(For example, rhel7.4).
By default, cp is cp -i.
Under this situation, you need use \cp to the origin command.(e.g. ,\cp -f)

alias cp='cp -i'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias mv='mv -i'
alias rm='rm -i'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'

部分图片缺失

Unpkg 上的版本

image

GitHub上的版本

image

不知道是不是没同步更新的问题, unpkg上的版本部分图片缺失,GitHub上的版本却直接移除了所以图片。

Alfred版本使用

你好,请问Alfred的workflow是只能在线查询吗?如果可以离线查询的话,是需要编译下载下来的代码还是设置一下呢。

https://github.com/jaywcjlove/linux-command/edit/master/command/grep.md

grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。用于过滤/搜索的特定字符。可使用正则表达式能多种命令配合使用,使用上十分灵活。

这里有个错别字.

命令`atop`没有添加

Hi, @jaywcjlove ,
我发现atop命令还没加入到列表中,可否考虑增加一下?我找了一些文档,但没有很正式地中文的manual。

按照词条gcc -c -o 编译,无法通过

理论上.o文件经过-o编译选项后是可以直接生成exec文件
但是实际上需要一堆crt链接才能通过。这样很容易误入歧途
gcc -v 了解一下

more命令文本错误

more 命令展示页面,“补充说明”中,无序列表的第二行,“Enter”错写成“Enier”

Getting more done in GitHub with ZenHub

Hola! @lovese has created a ZenHub account for the jaywcjlove organization. ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Multi-Repository burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • Time-saving shortcuts – like a quick repo switcher, a “Move issue” button, and much more.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @lovese.

ZenHub Board

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.