Quantcast
Channel: 服务器运维与网站架构|Linux运维|X研究 »文件
Browsing latest articles
Browse All 2 View Live

Shell:查找日期为某一天的文件

#!/bin/sh # The right of usage, distribution and modification is here by granted by the author. # The author deny any responsibilities and liabilities related to the code. # OK=0 A=`find $1 -print` if...

View Article


(总结)Linux的/etc/services文件简析

PS:刚才一童鞋问我,Linux的/etc/services文件里面定义的端口是有什么作用的。简单说一下。/etc/services文件是记录网络服务名和它们对应使用的端口号及协议。文件中的每一行对应一种服务,它由4个字段组成,中间用TAB或空格分隔,分别表示“服务名称”、“使用端口”、“协议名称”以及“别名”。 如图所示:...

View Article

Browsing latest articles
Browse All 2 View Live