查下最后登录/最近登录系统的用户是谁的命令:last ,上次登录的历史信息。通过搜索:/var/log/wtmp,
last
root pts/8 111.199.59.117 Mon Jan 8 22:12 still logged in
nl file.txt #看行数
快捷打开Vim:Ctrl+x+e ,先设置:
export EDITOR=/usr/local/bin/vim
du -h --max-depth=1
3.7M ./.git
20K ./nianbaoc++
28K ./echoman
24K ./nodestudy
16K ./epoll_example_codes
15M .
expr 做加减法:
expr 1 + 1
2
look命令:
look car
Linux look命令Linux 命令大全Linux look命令用于查询单词。look指令用于英文单字的查询
look没有find功能强大,但他有一个功能是find所没有的,就是搜索英文单词我们知道系统自带的单词表是没有中文解释的,如果你安装的是中文操作系统。 我们就可以自制一个英文词汇表
http://www.it610.com/article/2766338.htm
look car
CAR
Car
car
Cara
Carabancel
...
look: /usr/share/dict/words: 没有那个文件或目录
ls /usr/share/dict/words
/usr/share/dict/words
32位还是64位操作系统?
getconf LONG_BIT
64
dstat
You did not select any stats, using -cdngy by default.
----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read writ| recv send| in out | int csw
4 4 92 0 0 0| 64k 33k| 0 0 |4075B 2071B| 258 308
1 1 98 0 0 0| 384k 0 | 48k 43k| 0 0 | 249 211
7 17 75 0 0 1| 0 248k|4854B 12k| 0 0 | 592 673
last
root pts/8 111.199.59.117 Mon Jan 8 22:12 still logged in
nl file.txt #看行数
快捷打开Vim:Ctrl+x+e ,先设置:
export EDITOR=/usr/local/bin/vim
du -h --max-depth=1
3.7M ./.git
20K ./nianbaoc++
28K ./echoman
24K ./nodestudy
16K ./epoll_example_codes
15M .
expr 做加减法:
expr 1 + 1
2
look命令:
look car
Linux look命令Linux 命令大全Linux look命令用于查询单词。look指令用于英文单字的查询
look没有find功能强大,但他有一个功能是find所没有的,就是搜索英文单词我们知道系统自带的单词表是没有中文解释的,如果你安装的是中文操作系统。 我们就可以自制一个英文词汇表
http://www.it610.com/article/2766338.htm
look car
CAR
Car
car
Cara
Carabancel
...
look: /usr/share/dict/words: 没有那个文件或目录
ls /usr/share/dict/words
/usr/share/dict/words
32位还是64位操作系统?
getconf LONG_BIT
64
dstat
You did not select any stats, using -cdngy by default.
----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read writ| recv send| in out | int csw
4 4 92 0 0 0| 64k 33k| 0 0 |4075B 2071B| 258 308
1 1 98 0 0 0| 384k 0 | 48k 43k| 0 0 | 249 211
7 17 75 0 0 1| 0 248k|4854B 12k| 0 0 | 592 673
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:http://jackxiang.com/post/9391/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
最后编辑: jackxiang 编辑于2018-1-8 22:22
评论列表