共 69 篇文章 |
|
centos安装iostat命令的方法详解。运行如下的安装命令: 复制代码 代码示例:[root@jbxue ~]# rpm -ivh sysstat-7.0.2-3.el5.x86_64.rpm warning: sysstat-7.0.2-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186Preparing... ########################################### [100%] 1:sysstat ... 阅35164 转20 评0 公众公开 15-01-28 15:04 |
SSH login without passwordSSH login without passwordYour aim.Enter file in which to save the key (/home/a/.ssh/id_rsa): Created directory ''/home/a/.ssh''.a@A:~> cat .ssh/id_rsa.pub | ssh b@B ''cat >>.ssh/authorized_keys''b@B''s password:Put the public key in .ssh/autho... 阅27 转0 评0 公众公开 15-01-17 11:55 |
ssh 免密码登录。[chenlb@A ~]$ ssh-keygen -t rsa -P ''''它在/home/chenlb下生成.ssh目录,.ssh下有id_rsa和id_rsa.pub。[chenlb@A ~]$ scp .ssh/id_rsa.pub chenlb@192.168.1.181:/home/chenlb/id_rsa.pub chenlb@192.168.1.181''s password:id_rsa.pub 100% 223 0.2KB/s ... 阅34 转1 评0 公众公开 15-01-16 17:22 |
Linux教程:SSH免密码登录的方法。2.将你~/.ssh目录中的id_rsa.pub这个文件拷贝到你要登录的服务器的~/.ssh目录中,然后再运行以下命令来将公钥导入到~/.ssh/authorized_keys这个文件中。cat ~/.ssh/id_rsa.pub >>~/.ssh/authorized_keys,注意是管道符是 >>有读者提出拷贝公钥文件到服务器上这个过程可以用ssh-copy-id命令来完成,... 阅228 转1 评0 公众公开 15-01-14 14:37 |
img class="aligncenter size-full wp-image-109702" title="pdf-unsecured-ps" src="http://mcdn.maketecheasier.com/wp-content/uploads/2014/12/pdf-unsecured-ps.png" alt="pdf-unsecured-ps" /&img class="aligncenter size-full wp-image-109700" title="pdf-GUI-print-to-f... 阅39 转0 评0 公众公开 15-01-12 15:21 |
11 Useful Utilities To Supercharge Your Ubuntu Experience.I’ll kick off this list with the big one: Unity Tweak Tool. The kitchen sink of customisation, Unity Tweak Tool offers a comprehensive set of system tweaks tuned for Ubuntu and the Unity desktop.Free and readily available from the Software Center, Unity Tweak ... 阅39 转0 评0 公众公开 15-01-10 22:03 |
sed实现直接修改文件内容sed是实现对流的编辑。sed ''s/properties/property/g'' build.xml这种方式,其实并没有修改build.xml文件的内容。如果想保存修改,通常的做法就需要重定向到另外的一个文件sed ''s/properties/property/g'' build.xml >build.xml.tmp这样,build.xml.tmp文件就是修改后的文件.... 阅18 转0 评0 公众公开 15-01-05 16:26 |
要让rm识别find的结果,如下:find / -name filename |xargs rm -rf之所以find .-name filename |rm -rf不通过,是因为rm命令不接受从标准输入传过来的指令查找含特定字符串的文件例如查找当前目录下含有"the string you want find…"字符串的文件:$find .-type f -exec grep “the string you want find…” {} ;-print.找出磁盘中... 阅14 转0 评0 公众公开 15-01-05 12:01 |
[www.linuxidc.com@localhost root]$ passwd wgbpasswd: Only root can specify a user name.2.如果你是root用户登录的话,使用passwd root或者passwd,就可以修改root的密码。[root@localhost root]# passwdChanging password for user root.[root@localhost root]# passwd rootChanging password for user root.[root@localhost root]# echo ... 阅3970 转1 评0 公众公开 14-12-23 15:23 |
time.nist.govtime.nuri.netasia.pool.ntp.orgasia.pool.ntp.orgasia.pool.ntp.orgasia.pool.ntp.org.[root@localhost ~]# cat /etc/ntp.conf |awk ''{if($0 !refid:参考的上一层NTP主机的地址st:即stratum阶层when:几秒前曾做过时间同步更新的操作poll:下次更新在几秒之后reach:已经向上层NTP服务器要求更新的次数delay:网络传... 阅1067 转2 评0 公众公开 14-11-19 11:59 |