2013年7月21日

linux中read用法

摘要: read在while中的经常用法: 1 root@ubuntu:/var/lib/logrotate 10:53:05 118# cat /etc/cron.daily/logrotate 2 #!/bin/sh 3 4 # Clean non existent log file entries from status file 5 cd /var/lib/logrotate 6 test -e status || touch status 7 head -1 status > status.clean 8 sed 's/"//g' status | while 阅读全文

posted @ 2013-07-21 22:11 yi_meng 阅读(964) 评论(0) 推荐(0) 编辑

apt-get 使用指南

摘要: apt-get 使用指南原文出处:https://help.ubuntu.com/community/AptGetHowto命令atp-get使用source.list文件进行软件包管理。如果您想了解关于如何编辑和更新source.list中的条目的信息,请参阅SourcesList。“起初,GNU/Linux系统中只有.tar.gz。用户必须自己编译他们想使用的每一个程序。在Debian出现之后,人们认为有必要在系统中添加一种机制用来管理安装在计算机上的软件包。人们将这套系统称为dpkg。至此,着名的‘package’首次出现在GNU/Linux上。不久之后红帽子也开始着手建立自己的包管理系 阅读全文

posted @ 2013-07-21 20:09 yi_meng 阅读(617) 评论(0) 推荐(0) 编辑

linux文件系统

摘要: 参考:http://www.iteye.com/topic/816268 阅读全文

posted @ 2013-07-21 16:21 yi_meng 阅读(140) 评论(0) 推荐(0) 编辑

导航