-
NMAP - A Stealth Port Scanner--reference
所属栏目:[Linux] 日期:2021-01-24 热度:146
http://nmap.org/bennieston-tutorial/ Nmap is a free,open-source port scanner available for both UNIX and Windows. It has an optional graphical front-end,NmapFE,and supports a wide variety of scan types,each one with different benefits and[详细]
-
linux定时任务之crontab
所属栏目:[Linux] 日期:2021-01-24 热度:76
1.使用crontab crontab -u //设定某个用户的cron服务? crontab -l //列出某个用户cron服务的详细内容? crontab -r //删除某个用户的cron服务? 2. cron表达式 基本格式?:?*??*??*??*??*??command?分?时?日?月?周?命令?第1列表示分钟1~59?每分钟用*或者?*/1表[详细]
-
Signal Handling--ref
所属栏目:[Linux] 日期:2021-01-24 热度:62
signal is a software interrupt delivered to a process. The operating system uses signals to report exceptional situations to an executing program. Some signals report errors such as references to invalid memory addresses; others report asy[详细]
-
Linux 信号signal处理函数--转
所属栏目:[Linux] 日期:2021-01-24 热度:92
alarm(设置信号传送闹钟) 相关函数 signal,sleep 范例 #include void handler() {printf("hello/n");}main(){int i;signal(SIGALRM,handler);alarm(5);for(i=1;i kill(传送信号给指定的进程) 相关函数 raise,signal 表头文件 #include #include 定义函[详细]
-
linux下logrotate配置和理解---转
所属栏目:[Linux] 日期:2021-01-24 热度:161
对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系统中的最新的事件,对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系统中的最新的事件。logrotate 还可[详细]
-
Linux 线程实现机制分析--转
所属栏目:[Linux] 日期:2021-01-24 热度:149
div class="ibm-columns" div class="ibm-col-1-1" 按照教科书上的定义,进程是资源管理的最小单位,线程是程序执行的最小单位。在操作系统设计上,从进程演化出线程,最主要的目的就是更好的支持SMP以及减小(进程/线程)上下文切换开销。 无论按照怎样的分[详细]
-
Getting over the dangers of rm command in Linux---reference
所属栏目:[Linux] 日期:2021-01-24 热度:60
reference:http://www.coolcoder.in/2014/01/getting-over-dangers-of-rm-command-in.html When we want to delete a directory and everything in it,we normally usually use rm -rf . However,this? is a bad habit to get into. If you make a mistake,[详细]
-
Linux定时增量更新文件--转
所属栏目:[Linux] 日期:2021-01-24 热度:64
http://my.oschina.net/immk/blog/193926 动机与需求:现在有两台服务器A和B,由于A的存储随时会挂(某些原因),所以需要B机器上有A的备份,并且能够与A同步更新 一、crontab定时任务 发现了crontab这个东西 简单实践了一下,把使用的过程写到下面: 首先是[详细]
-
Boost application performance using asynchronous I/O-ref
所属栏目:[Linux] 日期:2021-01-24 热度:135
Linux asynchronous I/O is a relatively recent addition to the Linux kernel. It's a standard feature of the 2.6 kernel,but you can find patches for 2.4. The basic idea behind AIO is to allow a process to initiate a number of I/O operations[详细]
-
Handling of asynchronous events---reference
所属栏目:[Linux] 日期:2021-01-24 热度:117
http://www.win.tue.nl/~aeb/linux/lk/lk-12.html 12.?Handling of asynchronous events One wants to be notified of various events,like data that has become available,files that have changed,and signals that have been raised. FreeBSD has the ni[详细]
-
Sed - An Introduction and Tutorial by Bruce Barnett
所属栏目:[Linux] 日期:2021-01-24 热度:90
http://www.grymoire.com/unix/sed.html Quick Links - NEW table border="1" tr Sed Pattern Flags /tr tr td a href="http://www.grymoire.com/unix/Sed.html#uh-6"gt;/g?- Global/td /tr tr td a href="http://www.grymoire.com/unix/Sed.html#uh-10a"gt;[详细]
-
Linux 2.4调度系统分析--转
所属栏目:[Linux] 日期:2021-01-24 热度:187
简介: ?本文详尽地分析了Linux 2.4内核中调度系统的工作原理,特别是i386体系结构下SMP系统的调度表现。通过对2.4调度系统实现原理及其细节的分析,文章在文末指出了2.4调度系统在功能上、实时性上以及多处理机系统表现上存在的不足,为后继的2.6系统的分析[详细]
-
10+ commonly using find command switches with example Unix/L
所属栏目:[Linux] 日期:2021-01-24 热度:71
http://crybit.com/find-command-usage-with-example-unixlinux/ find command is one of the best search tool under UNIX/LINUX. Here I’m discussing some common switches of find command with detailed example. Like the name find,the “find” com[详细]
-
Anatomy of the Linux kernel--转
所属栏目:[Linux] 日期:2021-01-24 热度:160
ref:http://www.ibm.com/developerworks/linux/library/l-linux-kernel/?S_TACT=105AGX52S_CMP=cn-a-l Given that the goal of this article is to introduce you to the Linux kernel and explore its architecture and major components,let's start with[详细]
-
DNS服务器全面解析--转
所属栏目:[Linux] 日期:2021-01-24 热度:127
引用地址:http://pangge.blog.51cto.com/6013757/1273087 基础认知篇 DNS 服务的概述 DNS 是Domain Name System 的缩写,即域名系统。DNS服务主要功能是将域名转换为相应的IP地址,提供DNS服务的系统就是DNS服务器。形如它能够把www.baidu.com这样的域名转[详细]
-
Linux / Unix Command: bunzip2--reference
所属栏目:[Linux] 日期:2021-01-24 热度:142
http://linux.about.com/library/cmd/blcmdl1_bunzip2.htm NAME bzip2,bunzip2 - a block-sorting file compressor,v1.0.2? bzcat - decompresses files to stdout? bzip2recover - recovers data from damaged bzip2 files ? SYNOPSIS bzip2 ?[ ?-cdfkqstvz[详细]
-
linux文件操作命令--转
所属栏目:[Linux] 日期:2021-01-24 热度:192
引用地址:http://bbsunchen.iteye.com/blog/1010993 想自己一开始处理文件的时候,看文件有多少行,都要写个perl脚本,好不麻烦啊...以此文纪念自己傻逼的科研生活 linux 文本操作命令 1. cat 查看文件中的内容, -n 查看时为每一行加编号; -b 和-n类似,只[详细]
-
centos6.4使用man查找命令时,报错No manual entry for xxxx
所属栏目:[Linux] 日期:2021-01-24 热度:200
前提:安装man的命令 yum -y install man 使用man报错 [root@localhost objs]# man fcntlNo manual entry for fcntl[root@localhost objs]# cd [root@localhost ~]# man fcntlNo manual entry for fcntl[root@localhost ~]# which man/usr/bin/man 解决报错[详细]
-
linux man使用方法 和centos安装中文man包 --转
所属栏目:[Linux] 日期:2021-01-24 热度:59
http://blog.chinaunix.net/uid-25100840-id-302308.html 中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法, 1.手册页(Man Pages)对于Linux初学者,不能将手册页当教程,因为它只是简明的参考资料.在你需要了解某一命[详细]
-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2021-01-24 热度:109
http://snow-berry.iteye.com/blog/1991754 从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示 Device eth0 does? not seem to be present 故障现象: service network restart Shutting down loopback insterface:??????????[详细]
-
18 Command Line Tools to Monitor Linux Performance
所属栏目:[Linux] 日期:2021-01-24 热度:87
By? ?Under:? ,? ?On:? December 26,2013 It’s really very tough job for every? System ?or? Network ?administrator to monitor and debug Linux System Performance ?problems every day. After being a? Linux Administrator ?for? 5 years ?in? IT in[详细]
-
Linux getopt()函数 getopt_long()函数---转
所属栏目:[Linux] 日期:2021-01-24 热度:134
http://hi.baidu.com/scoundrelgg/item/d4083f8412eea05d26ebd97f get_opt()函数: 函数原型:: #include int getopt(int argc,char * const argv[],const char *optstring); extern char *optarg;extern int optind,opterr,optopt; 用法见右边栏 1.参数说[详细]
-
如何看linux是32位还是64位--转
所属栏目:[Linux] 日期:2021-01-24 热度:108
地址:http://hi.baidu.com/hehongrong/item/20c296bcf8d834432aebe3b2 如何看linux是32位还是64位 查看linux是多少位的几位方法: 查看linux机器是32位还是64位的方法: 方法一: file /sbin/init??? 或者?? file /bin/ls 结果如下: /sbin/init: ELF 64-bi[详细]
-
10 Linux DIG Command Examples for DNS Lookup--reference
所属栏目:[Linux] 日期:2021-01-24 热度:148
by? ?on? Dig stands for domain information groper. Using dig command you can query DNS name servers for your DNS lookup related tasks. This article explains 10 examples on how to use dig command. 1. Simple dig Command Usage (Understand dig[详细]
-
iptables详解--转
所属栏目:[Linux] 日期:2021-01-24 热度:135
出处:http://yijiu.blog.51cto.com/433846/1356254 iptables 详解 基本概念: 1. 防火墙工作在主机边缘:对于进出本网络或者本主机的数据报文,根据事先设定好的检查规则对其检查,对形迹可疑的报文一律按照事先定义好的处理机制做出相应处理 对linux而言tcp[详细]