比如想了解ls 的-a选项,英文好难理解啊。
有时感觉中文都难看懂。
有时感觉中文都难看懂。
|
krizexMay 14, 2015
1
-a, --all
do not ignore entries starting with . 不忽略以.开头的项 |
|
krizexMay 14, 2015
2
LZ我的英语水平是4级。。。
|
|
blank4meMay 14, 2015
3
我比较在意有没有机智的方法直接调跳到-a
直接搜索太慢了,经常搜到奇奇怪怪的地方,比如什么--add之类的 |
|
foxniMay 14, 2015
5
有些时候不得不看,所以就慢慢看喽。。。看着看着就习惯了。
|
|
SeptembersMay 14, 2015
6
敲着敲着就变下意识了
|
|
8
不好意思,忘了贴上来
expression [-a] expression Conjunction of primaries; the AND operator is implied by the juxtaposition of two primaries or made explicit by the optional -a operator. The second expression shall not be evaluated if the first expression is false. |
|
9
我打错了是find
|
|
10
|
|
11
@kingwrcy 这个不错,感谢。
provides examples of common uses of command line tools. |
|
TimLangMay 14, 2015
12
实在看不懂去买本 linux命令行大全吧,常用命令肯定都有详细的解释。
|
|
stormslowlyMay 14, 2015
13
```
man ls | col -bx > ls.man.page.txt ``` 用自己喜欢的编辑查看man page的内容吧。。。 |
|
14
bropages.org :)
|
|
lavandeMay 14, 2015
15
有些man写得感觉很晦涩,还是google一下具体用法比较舒服……
|
|
JayleeMay 14, 2015
16
cheat
|
|
zhoulujueMay 14, 2015
17
man page 里首先看 examples,再结合用法description,基本上几分钟就能找到你要的功能了。但是有一些命令是没有example的。。。
|
|
absconMay 14, 2015
19
@newborn 根据他的回复,他显然知道你说的这些。他不知道的是 \< \>这种用法。
要用 \> 把 -a 截断,否则会匹配到 --add -all 之类的 |
|
xxx027May 14, 2015
20
偶尔会用用这个: http://linux.51yip.com/ : )
|
|
LinusyeungMay 14, 2015 via iPhone
21
学习了…
我都是直接刷英文… 先看例子,别急躁… |
|
23
@abscon
http://unix.stackexchange.com/questions/67063/exact-match-in-regrex-when-using-vim-man-or-less less貌似是用\b代替vim里的\> 谢谢你给的思路,感觉被拯救了一大截 T_T |
|
byronMay 14, 2015
24
cheat
|
|
byronMay 14, 2015
25
cheat
你值得拥有。 |
|
26
@blank4me 正则表达式中用 \b 表示词边界是 Perl 风格,用 \< \> 则是 vim 风格。
你说实测不行,说明你系统上的 less 用的 regex 是 Perl 的。但我的系统上 less,grep,和 vim 都是统一用 \< \>。 我用的是 FreeBSD。刚才也实测了一下Linux, CentOS 5.4 上 less 也是 \< \>,CentOS 6.4 的则是 \b |
|
ilotuoMay 14, 2015
27
为毛我osx
/-a\> /-a\b 都不行 |
|
lsmgeb89May 14, 2015
28
这英文算不算难的,提高下英语水平。
|
|
29
https://github.com/idank/explainshell
很酷的工具, 把命令输进去,立刻把整条命令解释出来。比如: http://explainshell.com/explain?cmd=ls+-a |
|
zhengkaiMay 14, 2015
30
@bonefish 不错,可我试了一个给解释错了
http://explainshell.com/explain?cmd=wget+-rmnp+http%3A%2F%2Fwww.163.com 其实 -np 是一个参数,结果给解释成 -p 和一个未知的 -n 虽然参数格式是奇怪了点,但是 wget 也算常见工具了 |
|
bonefishMay 14, 2015
31
@zhengkai 看来对多字母支持不好,或许你可以提交个bug,已经有个类似的bug report:
Does not recognise multi-letter GCC options https://github.com/idank/explainshell/issues/113 |
|
wffishMay 14, 2015
32
man page不是有个中文么。
|
|
sadhenMay 15, 2015
34
|