-
时间日期date/cal
所属栏目:[Linux] 日期:2021-01-27 热度:119
命令: date 作用: 查看下系统时间 使用: date 命令: cal 对应英文: calendar 作用: 查看日历 选项: -y:可查看一年的日历 使用: cal cal -y[详细]
-
进程命令ps/top/kill
所属栏目:[Linux] 日期:2021-01-27 热度:111
进程: 通俗的说就是?当前正在执行的一个程序 命令: ps 英文: process status 作用: 查看进程的详细状况 选项: a:显示终端上的所有进程,包括其他用户的进程 u:显示进程的详细状况 x:显示没有控制终端的进程 使用: #?查看当前用户通过终端启动的进[详细]
-
which命令和bin目录
所属栏目:[Linux] 日期:2021-01-27 热度:66
命令: which 作用: 查看执行命令所在位置 使用: which?ls which?useradd 等等。。。 bin和sbin: 绝大多数可执行文件都保存在 /bin、/sbin、/usr/bin、/usr/sbin; /bin:(binary),是二进制执行文件目录,主要用于具体应用; /sbin:(system?binary[详细]
-
linux 定时任务
所属栏目:[Linux] 日期:2021-01-27 热度:105
p style="margin: 0in; font-size: 11.0pt;" lang="zh-CN"span style="font-family: 'Microsoft YaHei'; font-size: 15px;"习惯了使用span style="font-family: Calibri;" windows span style="font-family: 'Microsoft YaHei';"的计划任务,span style="f[详细]
-
Handling of asynchronous events---reference
所属栏目:[Linux] 日期:2021-01-25 热度:63
副标题#e# 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[详细]
-
Sed - An Introduction and Tutorial by Bruce Barnett
所属栏目:[Linux] 日期:2021-01-25 热度:198
副标题#e# 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[详细]
-
Boost application performance using asynchronous I/O-ref
所属栏目:[Linux] 日期:2021-01-25 热度:136
副标题#e# 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[详细]
-
Linux定时增量更新文件--转
所属栏目:[Linux] 日期:2021-01-25 热度:74
http://my.oschina.net/immk/blog/193926 动机与需求:现在有两台服务器A和B,由于A的存储随时会挂(某些原因),所以需要B机器上有A的备份,并且能够与A同步更新 一、crontab定时任务 发现了crontab这个东西 简单实践了一下,把使用的过程写到下面: 首先[详细]
-
Getting over the dangers of rm command in Linux---reference
所属栏目:[Linux] 日期:2021-01-25 热度:196
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-25 热度:153
副标题#e# div class="ibm-columns" div class="ibm-col-1-1" 按照教科书上的定义,进程是资源管理的最小单位,线程是程序执行的最小单位。在操作系统设计上,从进程演化出线程,最主要的目的就是更好的支持SMP以及减小(进程/线程)上下文切换开销。 无论[详细]
-
Linux下Makefile的automake生成全攻略--转
所属栏目:[Linux] 日期:2021-01-24 热度:164
副标题#e# http://www.yesky.com/120/1865620.shtml 作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么[详细]
-
Basic Data Structures and Algorithms in the Linux Kernel--re
所属栏目:[Linux] 日期:2021-01-24 热度:132
http://luisbg.blogalia.com/historias/74062 Links based on?: ,?,?. ?with comments telling you what you can't find in the textbooks. ?used for?,?,etc. ?are??are used for scheduling,virtual memory management,to track file descriptors and di[详细]
-
Linux服务器性能评估与优化--转
所属栏目:[Linux] 日期:2021-01-24 热度:190
http://www.itlearner.com/article/4553 table style="width: 571px;" border="1" cellspacing="0" cellpadding="0" tr td rowspan="2" width="103" p align="center"影响性能因素 /td td colspan="3" width="468" p align="center"评判标准 /td /tr tr td[详细]
-
awk - Unix, Linux Command---reference
所属栏目:[Linux] 日期:2021-01-24 热度:134
副标题#e# http://www.tutorialspoint.com/unix_commands/awk.htm gawk - pattern scanning and processing language gawk?[?POSIX?or?GNU?style options ]?-f? program-file ?[?--?] file ...?gawk?[?POSIX?or?GNU?style options ] [?--?]? program-text ?[详细]
-
NMAP - A Stealth Port Scanner--reference
所属栏目:[Linux] 日期:2021-01-24 热度:137
副标题#e# 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 be[详细]
-
linux文件操作命令--转
所属栏目:[Linux] 日期:2021-01-24 热度:102
引用地址: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 热度:110
前提:安装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 热度:91
http://blog.chinaunix.net/uid-25100840-id-302308.html 中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法, 1.手册页(Man Pages)对于Linux初学者,不能将手册页当教程,因为它只是简明的参考资料.在你需要了解某一[详细]
-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2021-01-24 热度:170
http://snow-berry.iteye.com/blog/1991754 从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示Device eth0 does? not seem to be present故障现象:service network restartShutting down loopback insterface:????????????[详细]
-
18 Command Line Tools to Monitor Linux Performance
所属栏目:[Linux] 日期:2021-01-24 热度:176
副标题#e# By??Under:?,??On:?December 26,2013 It’s really very tough job for every?System?or?Network?administrator to monitor and debugLinux System Performance?problems every day. After being a?Linux Administrator?for?5 years?in?IT indust[详细]
-
Linux getopt()函数 getopt_long()函数---转
所属栏目:[Linux] 日期:2021-01-24 热度:80
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 热度:148
地址:http://hi.baidu.com/hehongrong/item/20c296bcf8d834432aebe3b2 如何看linux是32位还是64位 查看linux是多少位的几位方法: 查看linux机器是32位还是64位的方法: 方法一: file /sbin/init??? 或者?? file /bin/ls 结果如下: /sbin/init: ELF 64-[详细]
-
10 Linux DIG Command Examples for DNS Lookup--reference
所属栏目:[Linux] 日期:2021-01-24 热度:54
副标题#e# 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 (Unde[详细]
-
iptables详解--转
所属栏目:[Linux] 日期:2021-01-24 热度:156
副标题#e# 出处:http://yijiu.blog.51cto.com/433846/1356254 iptables详解 基本概念: 1.防火墙工作在主机边缘:对于进出本网络或者本主机的数据报文,根据事先设定好的检查规则对其检查,对形迹可疑的报文一律按照事先定义好的处理机制做出相应处理 对lin[详细]
-
Find command usage in Linux with excellent examples--referen
所属栏目:[Linux] 日期:2021-01-24 热度:179
find searches?the directory tree rooted at each given file name by evaluating? the?given expression from left to right,according to the rules of precedence,until the outcome is known (the left?hand side is false for?and?operations,true f[详细]