-
linux下logrotate配置和理解---转
所属栏目:[Linux] 日期:2020-09-06 热度:95
http://os.51cto.com/art/200912/167478_all.htm对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系[详细]
-
火狐浏览器修改userAgent
所属栏目:[Linux] 日期:2020-09-06 热度:59
火狐浏览器修改userAgent的办法:在火狐浏览器地址栏输入“about:config”,按下回车进入设置菜单。找到“general.useragent.override”,如果没有这一项,则点右键[详细]
-
Linux的一些命令
所属栏目:[Linux] 日期:2020-09-06 热度:72
程序# rpm -qa # 查看所有安装的软件包系统# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/c[详细]
-
Getting over the dangers of rm command in Linux---reference
所属栏目:[Linux] 日期:2020-09-06 热度:111
reference:http://www.coolcoder.in/2014/01/getting-over-dangers-of-rm-command-in.htmlWhen we want to[详细]
-
Sed - An Introduction and Tutorial by Bruce Barnett
所属栏目:[Linux] 日期:2020-09-06 热度:130
http://www.grymoire.com/unix/sed.htmlQuick Links - NEWSed Commands: label# comment{....} Block=- pri[详细]
-
Handling of asynchronous events---reference
所属栏目:[Linux] 日期:2020-09-06 热度:135
http://www.win.tue.nl/~aeb/linux/lk/lk-12.html12.Handling of asynchronous eventsOne wants to be noti[详细]
-
Awk by Example--转载
所属栏目:[Linux] 日期:2020-09-05 热度:177
原文地址: http://www.funtoo.org/Awk_by_Example,_Part_1?ref=dzone http://www.funtoo.org/Awk_by_Example,_P[详细]
-
Linux getopt()函数 getopt_long()函数---转
所属栏目:[Linux] 日期:2020-09-05 热度:174
http://hi.baidu.com/scoundrelgg/item/d4083f8412eea05d26ebd97fLinux getopt()函数 getopt_long()函数get_opt[详细]
-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2020-09-05 热度:77
http://snow-berry.iteye.com/blog/1991754从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示Device eth0[详细]
-
How can I exclude directories from grep -R?
所属栏目:[Linux] 日期:2020-09-05 热度:69
‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches.[详细]
-
主机访问虚拟机中linux上的web服务
所属栏目:[Linux] 日期:2020-09-05 热度:106
环境:主机windows xp 虚拟机centos 6.4[root@localhost /]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT[root@[详细]
-
Fast portable non-blocking network programming with Libevent
所属栏目:[Linux] 日期:2020-09-05 热度:94
Learning LibeventChapter 0: About this documentChapter 1: A tiny introduction to asynchronous IO.A L[详细]
-
How to allow/block PING on Linux server – IPTables rules for
所属栏目:[Linux] 日期:2020-09-05 热度:108
BYADMIN-APRIL, 9TH 2014The ‘PING’, it’s a command-line tool to check a host is reachable or not. We[详细]
-
Common Linux log files name and usage--reference
所属栏目:[Linux] 日期:2020-09-05 热度:172
If you spend lot of time in Linux environment, it is essential that you know where the log files are[详细]
-
linux vi 撤销重做于前进后退--转
所属栏目:[Linux] 日期:2020-09-05 热度:137
在vi中按u可以撤销一次操作u 撤销上一步的操作Ctrl+r 恢复上一步被撤销的操作注意:如果你输入“u”两次,你的文本恢复原样,那应该是你的Vim被配置在Vi兼容模式了。重做如果你撤销得太多,你可以[详细]
-
linux乱码问题
所属栏目:[Linux] 日期:2020-09-05 热度:185
命令输入:export LANG=zh_CN.GBKgrep匹配时高亮先执行:export GREP_OPTIONS=--color=auto;后执行:grep 匹配内容 文件;描[详细]
-
RPM安装命令总结--转载
所属栏目:[Linux] 日期:2020-09-05 热度:118
原地址:http://www.cnblogs.com/zqwang0929/p/3352237.html在 Linux 操作系统下,几乎所有的软件均通过RPM 进行安装、卸载及管理等操作。RPM 的全[详细]
-
linux主机间复制文件
所属栏目:[Linux] 日期:2020-09-05 热度:140
命令基本格式:1、从 本地 复制到 远程* 复制文件: * 命令格式: scp local_file remote_username@remote_ip:remote_folder 或者 scp lo[详细]
-
解决两台centos虚拟机Telnet服务无法联机的问题
所属栏目:[Linux] 日期:2020-09-05 热度:85
关闭防火墙[root@localhost ~]# service iptables stopiptables: Flushing firewall rules: [ OK ]iptables: Set[详细]
-
CentOS下安装JDK7 转载
所属栏目:[Linux] 日期:2020-09-05 热度:63
转载地址:http://www.cnblogs.com/rilley/archive/2012/02/02/2335395.htmlCentOS下安装JDK7下载地址:http://www.oracl[详细]
-
NMAP - A Stealth Port Scanner--reference
所属栏目:[Linux] 日期:2020-09-05 热度:56
http://nmap.org/bennieston-tutorial/实例:nmap -sP 192.168.21.*Contents1IntroductionNmap is a free, ope[详细]
-
星光互联Linux系统挂载硬盘
所属栏目:[Linux] 日期:2020-09-05 热度:67
一、查看当前硬盘情况fdisk -l新安装的VPS,vdb(第二块虚拟硬盘)尚未被激活。二、新建分区fdisk /dev/vdbSSH执行以上命令Command (m for help): n #新建分区Command actione extendedp primary partition (1-4)p #分区类型Partition number (1-4): 1 #分区[详细]
-
linux cat 命令详解--转
所属栏目:[Linux] 日期:2020-09-05 热度:181
使用方式:cat [-AbeEnstTuv] [--help] [--version] fileName说明:把档案串连接后传到基本输出(萤幕或加 fileName 到另一个档案)参数:-n[详细]
-
Linux常用配置及硬件检测命令
所属栏目:[Linux] 日期:2020-09-05 热度:73
一些比较常见的linux命令,主要用于检测服务器的配置和硬件信息,包括:操作系统、CPU、内存、硬盘分区、系统时间、负载、网络相关、进程、用户、开关机、启动等方面,适用于主流操作系统,常见的centos、ubuntu、debian等。操作系统版本$ uname -a # 查看系[详细]
-
linux 批量重命名文件
所属栏目:[Linux] 日期:2020-09-05 热度:69
1. 分隔split -l 5 data_out.sql test2.重命名for j in test*; do mv -v -- $j qu[详细]
