- # last
- server pts/0 :0 Tue Oct 22 12:03 still logged in
- server tty8 :0 Tue Oct 22 12:02 still logged in
- …
- ...
- (unknown tty8 :0 Tue Oct 22 12:02 - 12:02 (00:00)
- server pts/0 :0 Tue Oct 22 10:33 - 12:02 (01:29)
- server tty7 :0 Tue Oct 22 10:05 - 12:02 (01:56)
- (unknown tty7 :0 Tue Oct 22 10:04 - 10:05 (00:00)
- reboot system boot 3.2.0-4-686-pae Tue Oct 22 10:04 - 12:44 (02:39)
- wtmp begins Fri Oct 4 14:43:17 2007
9. curl ifconfig.me
那么若何获得你的外部IP地址呢?应用google?那么这个敕令就在你的终端输出你的外部IP地址。
# curl ifconfig.me
留意:你可能没有按照curl包,你须要 apt/yum来按照包。
10. tree敕令
以树式的格局获得当前文件夹的构造。
- # tree
- .
- |-- Desktop
- |-- Documents
- | `-- 37.odt
- |-- Downloads
- | |-- attachments.zip
- | |-- ttf-indic-fonts_0.5.11_all.deb
- | |-- ttf-indic-fonts_1.1_all.deb
- | `-- wheezy-nv-install.sh
- |-- Music
- |-- Pictures
- | |-- Screenshot from 2013-10-22 12:03:49.png
- | `-- Screenshot from 2013-10-22 12:12:38.png
- |-- Public
- |-- Templates
- `-- Videos
- 10 directories, 23 files
11. pstree
5. nl敕令
这个敕令显示当前运行的所有过程及其相干的子过程,输出的是类似‘tree’敕令的树状格局。
推荐阅读 全程公开,教导局应用平台实现便捷监管
本年,北京昌平区家长李雯密斯到巩华黉舍报道时,毫不迟疑地给女儿订了三套校服,春秋装、冬装和礼服。家长们宁神“大年夜手笔”订购的背>>>详细阅读 本文标题:11个鲜为人知的Linux命令 地址:http://www.17bianji.com/lsqh/38642.html 1/2 1