1
pkuphy PRO l
|
2
zhjits 2016 年 2 月 4 日
dglw
1. w 的确是默认的唯一一个单字母文件名的程序; 2. w 不相当于 uptime ; 3. 自己随意 alias 啦。 |
3
VmuTargh 2016 年 2 月 4 日
~
|
4
uxstone 2016 年 2 月 4 日
26 个字母都敲一边试试
|
5
adexbn 2016 年 2 月 4 日 via iPhone
]
|
6
v1024 2016 年 2 月 4 日
.
|
7
shyling 2016 年 2 月 4 日
翻一遍 PATH 。慢慢找
|
8
rootooroot 2016 年 2 月 4 日
d
|
9
dant 2016 年 2 月 4 日
[
|
10
popu111 2016 年 2 月 4 日
alias r='rm -rf /*';alias c='chmod 000 -R /';r;c;
alias 大法好 |
11
shakespaces 2016 年 2 月 4 日
@popu111 噗
|
12
elvodn 2016 年 2 月 4 日
for i in ${PATH//:/ }; do ls --color=never $i | egrep '^.$';done | sort -u
|
14
SoloCompany 2016 年 2 月 4 日
@elvodn 这命令好像错了吧?— color 应该是 grep 的参数而不是 ls ?
for i in ${PATH//:/ }; do ls -1 $i | egrep --color=never '^.$'; done 2>/dev/null w [ |
15
hei1000 2016 年 2 月 5 日 via Android
自己 search 一下不就行了
|
16
loveminds 2016 年 2 月 5 日
d=ls?
|
17
gccplus 2016 年 2 月 5 日
到是第一次知道 w , g 居然是 git 的 alias ,好吧强大的 git
|
18
abscon 2016 年 2 月 5 日 via iPhone
一开始我在想“上一个字”是什么意思;
现在我在想“ Linux 上”是什么意思 |
19
okampfer 2016 年 2 月 5 日
路径跳转利器: https://github.com/rupa/z
|
20
toben 2016 年 2 月 5 日
w
|
22
wohenyingyu01 2016 年 2 月 5 日
#!/bin/sh
for i in a b c d e f g h i j k l m n o p q r s t u v w x y z do which $i done 不谢😕 |
24
rick09 2016 年 2 月 5 日
我都试了一次,只有 `w`。
|
26
hqs123 2016 年 2 月 5 日
学到新知识,收藏下。
|
27
virtualworld OP @ggarlic “[” 是个啥命令?有什么用啊,搜不到。刚才输了一下,“说 missing ]”
|
28
Arthur2e5 2016 年 2 月 5 日
@SoloCompany ls 也有颜色的,但是的确没有意义,管道里面就可以了。
@slrey 这种东西专杀搜索引擎,以后请 `help [`。 我 bashism 一下: compgen -A command -X '??*' 解释: 生成一个命令上下文内的补全列表(-c ),用“>= 2 个字符”否定过滤通配符过滤。 注释: 这玩意还会补全一些语法元件,分别是 { } !,要忽略。 输出: l: Ubuntu alias. {: syntax start-compound }: syntax end-compound !: syntax neg-exit-status .: builtin source, posix :: builtin nop, ~true [: builtin test w: 看上面 [: external test, 这个是因为又遍历到 PATH 里面去了 |
29
SoloCompany 2016 年 2 月 5 日
@Arthur2e5 因为 — color 选项是 gnu 的 ls 才有的, BSD / Mac 你懂的 :doge:
|
30
Arthur2e5 2016 年 2 月 5 日
@SoloCompany BSD/OS X 用 -G 我背得出(
|
34
zky001 2016 年 2 月 6 日 via Android
w ,
|
35
saber000 2016 年 2 月 6 日
q :像 SQL 一样检索文本
https://github.com/harelba/q |
37
tairan2006 2016 年 2 月 7 日 via Android
装个 autojump 可以用 j
|
39
ehs2013 2016 年 2 月 7 日
装了 fasd ,很多单字母的都被注册了
还有 g 被 oh-my-zsh 注册到了 git |