上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: Linux系统中scp命令的用法. scp就是secure copy的简写,用于在linux下进行远程拷贝文件的命令,和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器. 有时我们需要获得远程服务器上的某个文件,该服务器既没有配置ftp服务器,也没有做共享,无法通过常规途径获得文件时,只需要通过简单的scp命令便可达到目的。 一、将本机文件复制到远程服务器上scp /home/admin... 阅读全文
posted @ 2012-10-30 21:17 benhuan 阅读(446) 评论(0) 推荐(0) 编辑
摘要: grep 命令用于搜索由 Pattern 参数指定的模式,并将每个匹配的行写入标准输出中。 这些模式是具有限定的正则表达式,它们使用 ed 或 egrep 命令样式。grep 命令使用压缩的不确定算法。如果在 File 参数中指定了多个名称,grep 命令将显示包含匹配行的文件的名称。对 shell 有特殊含义的字符 ($, *, [, |, ^, (, ), / ) 出现在 Pattern 参... 阅读全文
posted @ 2012-10-30 20:20 benhuan 阅读(1289) 评论(0) 推荐(0) 编辑
摘要: 在网上找了很多,但是都不能处理文件或文件夹包含空格的情况,于是追本溯源查看每条命令的man手册,xargs 的手册里面说的很清楚:不能处理包含空格的情况但是给出了解决方案,于是继续探索,得出最终解决方案,记录在此与大家分享:查找当前目录包含 aes_main 的txt文件find . -type f -name "*.txt" -print0 | xargs -0 grep -c "aes_mai... 阅读全文
posted @ 2012-10-30 19:48 benhuan 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 直接传输发送者$nc -l sender-port < send.file 接收者$nc sender-IP sender-port > rece.file 压缩传输发送者: tar -cf - send.file | nc -l sender-port 接收者: nc sender-IP sender-port | tar -xf - 谁发送谁做服务器 阅读全文
posted @ 2012-10-29 22:25 benhuan 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 随笔测试正文1 ifs.getline(buffer, MAX_LINE_LENGTH); //get the name of node2 lq_line = buffer;3 cfg.node[vector_no].index = vector_no;4 cfg.node[vector_no].name = lq_line; 阅读全文
posted @ 2012-10-29 22:13 benhuan 阅读(82) 评论(0) 推荐(0) 编辑
摘要: Find the matlab installation ISO is the primary thing , just don't forget the Google that will help you .After that you need to mount it to get the file from the ISO , sudo mount -o loop,iocharset=gb2... 阅读全文
posted @ 2012-10-27 21:59 benhuan 阅读(135) 评论(0) 推荐(0) 编辑
摘要: http://benhuan.files.wordpress.com/2012/10/big_6d77fbb7bde4011fdf01df45fef8d0dd9ddcbdd5.jpg 阅读全文
posted @ 2012-10-24 22:00 benhuan 阅读(96) 评论(0) 推荐(0) 编辑
摘要: http://benhuan.files.wordpress.com/2012/10/361766103.jpg 阅读全文
posted @ 2012-10-24 21:58 benhuan 阅读(83) 评论(0) 推荐(0) 编辑
摘要: The Top 50 ‘Pictures of the Day’ for 2011Posted by Sifter in GALLERIES, PICTURE OF THE DAYEvery day at 5pm the Sifter posts the Picture of the Day. Below you will find a collection of the Sifter’s Top... 阅读全文
posted @ 2012-10-22 10:00 benhuan 阅读(203) 评论(0) 推荐(0) 编辑
摘要: After the positive reception from last year’s “Top 50 ‘Pictures of the Day’ for 2011“, we promised to highlight the top 25 ‘Pictures of the Day’ at the end of every quarter, eventually culminating in ... 阅读全文
posted @ 2012-10-22 02:05 benhuan 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页