vi 编码设置

由于在windows下默认是gb编码,而我的vim默认是utf-8(gedit默认也是utf-8),所以打开会成乱码。修改了一下配置文件,使vi支持gb编码就好了。$vi ~/.vimrclet &termencoding=&encodingset fileencodings=utf-8,gbk$:wq再次打开vi,显示就...

       时间 : 2016-07-03| 栏目 : Linux, 操作系统| 浏览 : 231 次| 暂无评论 Tags: [阅读全文]

    使用Shell脚本像一个文件中写入多行数据

    今天遇到一个实际的问题,需要向系统终端一次写入多个关键词,并且实现换行,于是自己去简单看了下Shell,现学现用吧,临时拼凑了一下,形成了下面的简单脚本: 点击(此处)折叠或打开 #!/bin/bash #comment: echo "This is a shell to input multi-keywords in...

         时间 : 2015-02-02| 栏目 : 未分类| 浏览 : 360 次| 暂无评论 Tags: [阅读全文]

      Linux 精准获取进程pid

      如果想在脚本里只获取PID,那么可以用如下脚本。目前收集两种方法: 方法一 $ps x|grep xxx |awk '{print $1}' e.g.如果想在脚本里只获取PID,那么可以用如下脚本。目前收集两种方法: 方法一 $ps x|grep xxx |awk '{print $1}' e.g. ...

           时间 : 2015-02-02| 栏目 : 操作系统| 浏览 : 334 次| 暂无评论 Tags: [阅读全文]

        linux 未识别的服务

        给linux添加服务的步骤: 第一:编写服务脚本,命名为:testService   [cpp] view plaincopyprint? start()   {       echo "start testService"       /usr/local/bin/...

             时间 : 2015-01-23| 栏目 : 操作系统| 浏览 : 323 次| 暂无评论 Tags: [阅读全文]

          Linux wc计算字数命令详解

          功能说明:计算字数。 语  法:wc [-clw][--help][--version][文件...] 补充说明:利用wc指令我们可以计算文件的Byte数、字数、或是列数,若不指定文件名称、或是所给予的文件名为“-”,则wc指令会从标准输入设备读取数据。 参  数: -c或--bytes或--chars 只显示Bytes数。 -...

               时间 : 2014-12-12| 栏目 : 操作系统| 浏览 : 256 次| 暂无评论 Tags: [阅读全文]

            ssh常用用法小结

            ssh常用用法小结 1、连接到远程主机: 命令格式 : ssh name@remoteserver 或者 ssh remoteserver -l name 说明:以上两种方式都可以远程登录到远程主机,server代表远程主机,name为登录远程主机的用户名。 2、连接到远程主机指定的端口: 命令格...

                 时间 : 2014-12-09| 栏目 : php, Web开发, 操作系统| 浏览 : 243 次| 暂无评论 Tags: [阅读全文]

              ubuntu开启SSH服务

              SSH分客户端openssh-client和openssh-server 如果你只是想登陆别的机器的SSH只需要安装openssh-client(ubuntu有默认安装,如果没有则sudo apt-get install openssh-client),如果要使本机开放SSH服务就需要安装openssh-server sud...

                   时间 : 2014-12-09| 栏目 : php, Web开发, 操作系统| 浏览 : 267 次| 暂无评论 Tags: [阅读全文]

                Ubuntu下架设FTP服务器

                Linux下提供了很多的ftp服务器,这里我选用了安全,快速,简单的vsftpd作为FTP服务器。本文是我在自己的Ubuntu 10.10 -32 位系统下搭建的。搭建方法简单,按照本过程,您也可以完全搭建自己的ftp服务器。 一vsftpd的简述 vsftpd(Very Secure FTP Daemon,非常安全的FTP服...

                     时间 : 2014-12-06| 栏目 : 操作系统| 浏览 : 244 次| 暂无评论 Tags: [阅读全文]

                  Linux定时任务Crontab详解

                  分类: LINUX    原文地址:http://edu.codepub.com/2011/0104/28518.php    今天做了个数据库的备份脚本,顺便系统得学习一下Linux下定时执行脚本的设置。Linux下的定时执行主要是使用crontab文件中加入定制计划来执行,设置比Windows稍微复杂一些(...

                       时间 : 2014-09-09| 栏目 : 操作系统| 浏览 : 289 次| 暂无评论 Tags: [阅读全文]
                    

                    Aujourd’hui, une partie avec le développement du e-commerce, achats en ligne est devenu une partie de la vie pour beaucoup de gens. La mariage a commencé achats en ligne. Si vous choisissez achats les mariages en ligne, il peut être beaucoup moins cher que le salon de la Robe de mariée pas chermariée local, réduisant le budget de mariage. vous pouvez avoir beaucoup de choix si acheter de mariage en ligne. vous pouvez ramasser une robe de mariée bon marché sur Internet.
                    Piercing fascinerande figur, och nu tittar vi på 2016 senast brudklänning, kan du vara den vackraste bruden det!2016 senaste Bra brudklänning, söt temperament Bra design, romantiska spetsar blomma kjol, som du lägger till en elegant och charmig temperament.Kvinnan tillbaka mjuka linjer, människor brudklänningofta få en känsla av oändlig frestelse. Fall 2016 mässan, lämnar uppgifter om ditt bröllop charmig.
                    Yesterday afternoon, the Chinese team was training in the Guangzhou Gymnasium, when the reporter asked Zhao Yunlei the feeling of wearing the new cheap jersey , cheap jerseys online shopshe readily took a shirt from the bag crumpled ball to reporters, and she said with a smile: ” This shirt is light. ”Zhao Yunlei said: “Our material is very light like with the clothes of the tennis King Nadal, Federer, after the sweat, sweat does not drip down to the ground, when we do move, it is easy pace slipping if the sweat drip on the floor.”Tennis players Zhang Yawen, told reporters: “You might think the clothes attached to the body, fearing we swing will be affected, in fact, we do not feel anything, because the clothes are very light, very soft, put on quite comfortable. And it’s particularly good clothes to dry, washing and will dry in 15 minutes. ”
                    China’s sports enthusiasts NFL sweatshirt with mad love and the pursuit of, and therefore, NFL jerseys have a good market in China and development. China is a populous country, is the consumer, the economic momentum is so good, the sales prospects sportswear is immeasurable. With hot sales sweatshirt, but also to promote the importance of sports fans, on health, on the other hand is a matter of concern for the World Cup, fans wearing NFL jerseys and also can express themselves more fully love and obsession Therefore, NFL jerseys Wholesale jerseys online shopwholesale has good prospects and development in China.
                    ANTA-ANTA Sports Products Limited, referred to as ANTA Sports, Anta, is China’s leading sporting goods companies, mainly engaged in the design, development, manufacture and marketing of ANTA brand sporting goods, including sports footwear, apparel and accessories. Anta sweatshirt design advantages, warm stretch knit fabric, using Slim version of model, more personal fit, bid farewell to bloated, so wearing more stylish.GUIRENNIAO-This logo is a spiritual totem, smooth graphics implication unstoppable force; flexible deliver an elegant arc Wholesale jerseys china shop movement, strength and speed of the United States, a symbol of passion and rationality publicity “Heart” and “meaning”, “concept” unity; pass the fearless and enterprising mind, showing beyond the realm of self, to unstoppable force to create the future.XTEP-Xtep (China) Co., Ltd. is a comprehensive development wholesale jerseys china shop, production and marketing of Xtep brand (XTEP) sports shoes, clothing, bags, caps, balls, socks mainly large sporting goods industry enterprises.
                    There are a lot of fans in identifying the authenticity of the above cheap jerseys have great distress, so here to i will show you some methods to definitely affordable inexpensive cheap jerseys : Firstly, we should look at if it is working fine. China has been called the world’s factory, a lot cheap jerseys factories in China have foundries, but our cheap jerseys are all from here! Secondly, should to see whether it is the , we all know that it is difficult to get out of print once a genuine cheap cheap jerseys free shipping jersey was print. and we have all kind of stocka on the whole website, in other words, we have all you want ! Finally, look at the price, our price is not necessarily the lowest in the whole website but it must be most fair on the whole website, we certainly you will not regret later when you buy it. Of course, except that cheap jerseys, we also have the other products, such as socks, leggings and some other related products, everyone can enjoy the best services of here!