-
linux主机间复制文件
所属栏目:[Linux] 日期:2020-09-12 热度:116
命令基本格式:1、从 本地 复制到 远程* 复制文件: * 命令格式: scp local_file remote_username@remote_ip:remote_folder 或者 scp lo[详细]
-
RPM安装命令总结--转载
所属栏目:[Linux] 日期:2020-09-12 热度:157
原地址:http://www.cnblogs.com/zqwang0929/p/3352237.html在 Linux 操作系统下,几乎所有的软件均通过RPM 进行安装、卸载及管理等操作。RPM 的全[详细]
-
linux乱码问题
所属栏目:[Linux] 日期:2020-09-12 热度:177
命令输入:export LANG=zh_CN.GBKgrep匹配时高亮先执行:export GREP_OPTIONS=--color=auto;后执行:grep 匹配内容 文件;描[详细]
-
linux vi 撤销重做于前进后退--转
所属栏目:[Linux] 日期:2020-09-12 热度:179
在vi中按u可以撤销一次操作u 撤销上一步的操作Ctrl+r 恢复上一步被撤销的操作注意:如果你输入“u”两次,你的文本恢复原样,那应该是你的Vim被配置在Vi兼容模式了。重做如果你撤销得太多,你可以[详细]
-
Common Linux log files name and usage--reference
所属栏目:[Linux] 日期:2020-09-12 热度:148
If you spend lot of time in Linux environment, it is essential that you know where the log files are[详细]
-
How to allow/block PING on Linux server – IPTables rules for
所属栏目:[Linux] 日期:2020-09-12 热度:84
BYADMIN-APRIL, 9TH 2014The ‘PING’, it’s a command-line tool to check a host is reachable or not. We[详细]
-
Fast portable non-blocking network programming with Libevent
所属栏目:[Linux] 日期:2020-09-12 热度:158
Learning LibeventChapter 0: About this documentChapter 1: A tiny introduction to asynchronous IO.A L[详细]
-
主机访问虚拟机中linux上的web服务
所属栏目:[Linux] 日期:2020-09-12 热度:163
环境:主机windows xp 虚拟机centos 6.4[root@localhost /]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT[root@[详细]
-
How can I exclude directories from grep -R?
所属栏目:[Linux] 日期:2020-09-12 热度:100
‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches.[详细]
-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2020-09-12 热度:166
http://snow-berry.iteye.com/blog/1991754从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示Device eth0[详细]
-
Linux getopt()函数 getopt_long()函数---转
所属栏目:[Linux] 日期:2020-09-12 热度:99
http://hi.baidu.com/scoundrelgg/item/d4083f8412eea05d26ebd97fLinux getopt()函数 getopt_long()函数get_opt[详细]
-
Linux 精准获取进程pid--转
所属栏目:[Linux] 日期:2020-09-12 热度:56
如果想在脚本里只获取PID,那么可以用如下脚本。目前收集两种方法:方法一$ps x|grep xxx |awk {print $1}e.g. ps x|grep java|awk[详细]
-
Linux Top 命令解析 比较详细--转
所属栏目:[Linux] 日期:2020-09-12 热度:143
TOP是一个动态显示过程,即可以通过用户按键来不断刷新当前状态.如果在前台执行该命令,它将独占前台,直到用户终止该程序为止.比较准确的说,top命令提供了实时的对系统处理器的状态监视.它将显示系统中C[详细]
-
linux 管道--转
所属栏目:[Linux] 日期:2020-09-12 热度:80
linux 管道管道是Linux中很重要的一种通信方式,是把一个程序的输出直接连接到另一个程序的输入,常说的管道多是指无名管道,无名管道只能用于具有亲缘关系的进程之间,这是它与有名管道的最大区别。有名[详细]
-
rsync+inotify实现服务器之间文件实时同步--转
所属栏目:[Linux] 日期:2020-09-12 热度:55
之前做了“ssh信任与scp自动传输脚本”的技术文档,此方案是作为公司里备份的方法,但在实际的运行中,由于主服务器在给备份服务器传输的时候,我们的主服务器需要备份的文件是实时、不停的产生的,造成不知道[详细]
-
Linux中date命令的各种实用方法--转载
所属栏目:[Linux] 日期:2020-09-12 热度:146
在linux环境中,不管是编程还是其他维护,时间是必不可少的,也经常会用到时间的运算,自己也曾经为时间的各种表示方法和如何修改时间而困惑,熟练运用date命令来表示自己想要表示的时间,肯定可以给自己的[详细]
-
Awk by Example--转载
所属栏目:[Linux] 日期:2020-09-12 热度:88
原文地址: http://www.funtoo.org/Awk_by_Example,_Part_1?ref=dzone http://www.funtoo.org/Awk_by_Example,_P[详细]
-
Find command usage in Linux with excellent examples--referen
所属栏目:[Linux] 日期:2020-09-12 热度:118
http://www.coolcoder.in/2014/02/find-command-usage-in-linux-with.htmlfind searchesthe directory tree[详细]
-
Linux / Unix Command: bunzip2--reference
所属栏目:[Linux] 日期:2020-09-12 热度:65
http://linux.about.com/library/cmd/blcmdl1_bunzip2.htmNAMEbzip2, bunzip2 - a block-sorting file comp[详细]
-
15 Linux Split and Join Command Examples to Manage Large Fil
所属栏目:[Linux] 日期:2020-09-12 热度:130
byHIMANSHU ARORAonOCTOBER 16, 2012http://www.thegeekstuff.com/2012/10/15-linux-split-and-join-comman[详细]
-
linux man使用方法 和centos安装中文man包 --转
所属栏目:[Linux] 日期:2020-09-12 热度:172
http://blog.chinaunix.net/uid-25100840-id-302308.html这两天学习中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的[详细]
-
如何看linux是32位还是64位--转
所属栏目:[Linux] 日期:2020-09-12 热度:107
地址:http://hi.baidu.com/hehongrong/item/20c296bcf8d834432aebe3b2如何看linux是32位还是64位如何看linux是32位还是64位查看l[详细]
-
8 Pratical Examples of Linux “Touch” Command--reference
所属栏目:[Linux] 日期:2020-09-12 热度:192
InLinuxevery single file is associated with timestamps, and every file stores the information of las[详细]
-
linux文件操作命令--转
所属栏目:[Linux] 日期:2020-09-12 热度:184
引用地址:http://bbsunchen.iteye.com/blog/1010993想自己一开始处理文件的时候,看文件有多少行,都要写个perl脚本,好不麻烦啊...以此文纪念自己傻逼的科研生活l[详细]
-
10 Linux DIG Command Examples for DNS Lookup--reference
所属栏目:[Linux] 日期:2020-09-12 热度:190
byRAMESH NATARAJANonFEBRUARY 29, 2012http://www.thegeekstuff.com/2012/02/dig-command-examples/Dig st[详细]