一天一个shell命令 linux文件操作系列-ln命令详解
里提示一下:ubuntu的翻译很多都是字面直译,存在很多问题,所以建议大家参照我这里的解释。当然本来也是有些赶文的嫌疑,望指正。经常在linux上操作,有在不同的目录下切换某几个固定的命令,或者修改几个固定的文件,这时候,如果能在一个目录下就操作他们,会是一件多么轻松的事情。我们来看看链接命令ln全称ln 全称是link 顾名思义,这是一个建立一个链接。怎么去理解呢?它的功能类似于Mac...
View Article一天一个shell命令 linux文本操作系列-diff命令详解
这又是一个文件比较命令,熟练掌握会节省你很多工作。还记得comm命令吗?diff比他更加复杂,好用,不仅能比较文件,还能比较目录。 当一个文件有多个版本时候,或者更多复杂的文件,目录比较时,你会期望有一个比comm更有用的命令,diff正是为此而生。全称:different file实例:文件1: v1.txt复制代码 代码如下:hello world v1_echo v1_diff...
View Article一天一个shell命令 linux文本系列-file命令用法
linux file 命令简介:该命令用来识别文件类型,也可用来辨别一些文件的编码格式。它是通过查看文件的头部信息来获取文件类型,而不是像windows通过扩展名来确定文件类型的。更多介绍可以查看这篇文章:http://www.jb51.net/LINUXjishu/388984.htmlfile 官方解释:Determine type of FILEs....
View Article一天一个shell命令 linux文本操作系列-touch命令用法
之前我们学过dd创建测试文件,如果不需要考虑文件大小,创建一个空白文件的话,不妨试试touch:将每个文件的访问时间和修改时间改为当前时间。不存在的文件将会被创建为空文件,除非使用-c 或-h 选项。入门例子:1. 如果想生成100个空文件for name in {1..100}.txt do touch $name done 2. 改进一下 touch test{1..20}.c查看...
View Article一天一个shell命令 linux文本操作系列-chmod命令用法
先来熟悉下权限,以上一个例子comm下的文档为例 $ls -l-rw-rw-r-- 1 yjplxq yjplxq 36 7月 30 22:40 A.txt -rw-rw-r-- 1 yjplxq yjplxq 27 7月 30 22:41 B.txt -rw-rw-r-- 1 yjplxq yjplxq 1231 7月 30 22:45 comm.txt -rwxrwxr-x 1...
View ArticleLVS DR + Keepalived 负载均衡配置详解(测试篇)
一、启动服务 1、在每台RS(真实服务器)上绑定LVS的虚拟IP及抑制ERP [root@LVS_RS_104~]#/etc/rc.d/init.d/lvs_dr.shstart RealServerStartOK [root@LVS_DR_103~]#/etc/rc.d/init.d/lvs_dr.shstart RealServerStartOK 2、启动LVS主的Keepalived服务...
View ArticleLibreOffice's 3D Renderer Now Supports Multi-Threading
LibreOffice's 3D Renderer Now Supports Multi-Threading Written by Michael Larabel inFree Software on 7 May 2016 at 08:11 AM EDT.Add A Comment The 3D/OpenGL support in LibreOffice just got a bit better...
View ArticleAn Early Look At Some Of The New Features Of LibreOffice 5.2
An Early Look At Some Of The New Features Of LibreOffice 5.2 Written by Michael Larabel inFree Software on 9 May 2016 at 09:02 AM EDT.Add A Comment WhileLibreOffice 5.2 isn't scheduled to be released...
View Article树莓派项目实践――可用 web 控制的人体感应小夜灯
转载请注明出处: http://www.codelast.com/ A time-controllable human sense light based on Raspberry Pi, which has a web UI to control it. 一个基于树莓派的、(开关)时间可控的人体感应灯,可以通过一个web...
View ArticleContributing to Fedora Quality Assurance
Every day, people from all over the world work together to create and support new releases of Fedora. One of the many important tasks is QA , or quality assurance . The QA sub-project in Fedora helps...
View ArticleFedora 24 to Ship with Linux Kernel 4.5.7, Will Be Rebased Later on Linux 4.6
If you're reading the news lately, you should be aware of the fact that the Fedora 24 linux operating system has been delayed a fourth time , and it now looks like it hits the streets on June 21,...
View ArticleUpdated Debian 8: 8.5 released
June 4th, 2016 The Debian project is pleased to announce the fifth update of its stable distribution Debian 8 (codename jessie ). This update mainly adds corrections for security problems to the stable...
View ArticleCreate USB bootable disk using GNOME Disks
By default, Ubuntu ships with Ubuntu startup creator application to create bootable USB drive. For those who don’t know already, there is another builtin USB bootable creation software called GNOME...
View ArticleGNOME Calendar Makes Rescheduling Events Easier
Reschedulingevents inGNOME Calendar will be simplified inthe nextmajor release of the app, maintainer Georges Stavracassays. Drag and drop support has been addedto the productivity app. It...
View ArticlePolari IRC Client Is Getting New Features for the GNOME 3.22 Desktop Environment
Polari developer Florian Müllner informs the community about the general availability of the second snapshot towards the major 3.22 release of the open-source and straightforward IRC client designed...
View ArticleGNOME 3.21.2 Released With More Wayland Improvements, Flatpak
GNOME 3.21.2 Released With More Wayland Improvements, Flatpak Written by Michael Larabel inGNOME on 27 May 2016 at 09:04 AM EDT.Add A Comment GNOME 3.21.2 was released this morning as the latest...
View ArticleSpecial Report: Low Latency & Real-Time Kernels for Telco & NFV
This report by Canonical, the company behind Ubuntu the cloud's favorite operating system, enables decision makers in telcos and service providers to choose the appropriate linux kernel technology for...
View ArticleAutomatically run your package’s tests with inotifywait
This is a short post to illustrate how I use the inotifywait command as a cheap and cheeful way to run my tests automatically on save. Note: inotify is only available on linux, sorry OS X users. Step...
View ArticleUbuntu Membership Board call for nominations
As you may know, Ubuntu Membership is a recognition of significant and sustained contribution to Ubuntu and the Ubuntu community. To this end, the Community Council recruits members of our current...
View Article