共 63 篇文章 |
|
开始详细系统的学习linux常用命令,坚持每天一个命令,所以这个系列为每天一个linux命令。一. 文件目录操作命令:二. 文件查找命令。五. linux文件权限设置。支持(0)反对(0) #7楼 2012-12-10 22:57 Vamei 我在我下面的博文里引用了你的这个目录:Linux的概念与体系http://www.cnblogs.com/vamei/archive/2012/10/10/2718229.html支持(0)反对(... 阅195 转2 评0 公众公开 15-02-06 14:38 |
Linux系统中的wget是一个下载文件的工具,它用在命令行下。wget支持HTTP,HTTPS和FTP协议,可以使用HTTP代理。在递归下载的时候,wget 遵循Robot Exclusion标准(/robots.txt). wget可以在下载的同时,将链接转换成指向本地文件,以方便离线浏览。wget 非常稳定,它在带宽很窄的情况下和不稳定网络中有很强的适应性.如果是由于网络的原因下载失... 阅20 转1 评0 公众公开 15-02-06 14:38 |
阅38 转2 评0 公众公开 15-02-06 14:37 |
rcp代表“remote file copy”(远程文件拷贝)。rcp命令用在远端复制文件或目录,如同时指定两个以上的文件或目录,且最后的目的地是一个已经存在的目录,则它会把前面指定的所有文件或目录复制到该目录中。使用实例4:将目录复制到远程系统:要将本地目录及其文件和子目录复制到远程系统,请同时使用 rcp 和 -r(递归)选项。要将远程目录及其... 阅68 转2 评0 公众公开 15-02-06 14:37 |
telnet命令通常用来远程登录。输出:[root@localhost ~]# telnet 192.168.120.209Trying 192.168.120.209...telnet: connect to address 192.168.120.209: No route to hosttelnet: Unable to connect to remote host: No route to host[root@localhost ~]#输出:[root@localhost ~]# telnet www.baidu.comwww.baidu.com/telnet: Temporary fai... 阅43 转2 评0 公众公开 15-02-06 14:37 |
ss是Socket Statistics的缩写。输出:[root@localhost ~]# ss -sTotal: 34 (kernel 48)TCP: 4 (estab 1, closed 0, orphaned 0, synrecv 0, timewait 0/0), ports 3.输出:[root@localhost ~]# time ss real 0m0.739suser 0m0.019ssys 0m0.013s[root@localhost ~]# [root@localhost ~]# time netstat -atreal 2m45.907suser ... 阅194 转2 评0 公众公开 15-02-06 14:37 |
输出:[root@andy ~]# netstat -nat |awk ''{print $6}''|sort|uniq -c 14 CLOSE_WAIT 1 established) 578 ESTABLISHED 1 Foreign 43 LISTEN 5 TIME_WAIT[root@andy ~]# netstat -nat |awk ''{print $6}''|sort|uniq -c|sort -rn 576 ESTABLISHED 43 LISTEN 14 CLOSE_WA... 阅80 转2 评0 公众公开 15-02-06 14:36 |
16 12 ms 12 ms 17 ms bj141-147-82.bjtelecom.net [219.141.147.82] 17 13 ms 13 ms 12 ms 202.97.48.2 18 * * * Request timed out.19 14 ms 14 ms 12 ms 221.187.224.85 20 15 ms 13 ms 12 ms 221.187.104.2 21 * * * Request timed out.22 15 ms ... 阅107 转2 评0 公众公开 15-02-06 14:36 |
Linux系统的route命令用于显示和操作IP路由表(show / manipulate the IP routing table)。Route命令是用于操作基于内核ip路由表,它的主要作用是创建一个静态路由让指定一个主机或者一个网络通过一个网络接口,如eth0。route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0. 阅52 转3 评0 公众公开 15-02-06 14:35 |
ifconfig eth0 add 33ffe:3240:800:1005::2/64 为网卡eth0配置IPv6地址;输出:[root@localhost ~]# ifconfig eth0 192.168.120.56 [root@localhost ~]# ifconfig eth0 192.168.120.56 netmask 255.255.255.0 [root@localhost ~]# ifconfig eth0 192.168.120.56 netmask 255.255.255.0 broadcast 192.168.120.255.输出:[root@localhost ~]# if... 阅29 转2 评0 公众公开 15-02-06 14:35 |