-
linux sed 命令
所属栏目:[Linux] 日期:2021-01-25 热度:134
aabbcc Hello world! Hello Jack!Hello China!Hello Nick! $ test.txt # 删除第二行到最后一行 选项 -i $ -i '1d' test.txt $ test.txt # 在第一行下面新增一行,内容为 test.txt # 在最后一行下面新增一行,内容为 , test.txt # 一次增加多行需要使用换行[详细]
-
linux kill 命令
所属栏目:[Linux] 日期:2021-01-25 热度:171
[options] span style="color: #000000" […] : 把信号发送给列出的所有进程。 options :- span style="color: #000000" : 指定发送给进程的信号,指定信号的名称或号码都可以。 /span-l : 列出所有信号的名称和号码。/pre $ -l /tr tr tdspan style="font[详细]
-
TeamCity : 安装 Agent
所属栏目:[Linux] 日期:2021-01-25 热度:59
副标题#e# $ $ $ buildAgent.dist.properties buildAgent.properties name=tcagent1 $ cd /var/local/ -R tcuser:tcuser buildagent/ $ #p#副标题#e# #p#副标题#e# #p#副标题#e# #!/bin/=#p#副标题#e# span style="color: #0000ff"case span style="color:[详细]
-
TeamCity : 安装 Server
所属栏目:[Linux] 日期:2021-01-25 热度:117
副标题#e# $ -xf TeamCity-...gz -C ~/ $ ./teamcity-server. start #p#副标题#e# #p#副标题#e# #p#副标题#e# #p#副标题#e# #p#副标题#e# #!/bin//etc/init.d/teamcity - startup script =/usr/lib/jdk1.=${JAVA_HOME}/=.:${JAVA_HOME}/lib:${JRE_HOME}/=${[详细]
-
Ubuntu14.04安装postgresql9.4
所属栏目:[Linux] 日期:2021-01-25 热度:80
安装前的检查 首先查看是否已经安装了旧版本: dpkg -l | postgresql 如果已经安装了某个版本的postgresql,请先卸载。 安装postgresql 添加postgresql源: /etc/apt/sources.list.d/ vim /etc/apt/sources.list.d/pgdb.list 把下面这行数据添加到pgdb.lis[详细]
-
linux 定时任务
所属栏目:[Linux] 日期:2021-01-25 热度:51
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[详细]
-
linux文件操作命令--转
所属栏目:[Linux] 日期:2021-01-24 热度:183
引用地址: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 热度:90
前提:安装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 热度:193
http://blog.chinaunix.net/uid-25100840-id-302308.html 中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法, 1.手册页(Man Pages)对于Linux初学者,不能将手册页当教程,因为它只是简明的参考资料.在你需要了解某一[详细]
-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2021-01-24 热度:51
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 热度:133
副标题#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 2.4调度系统分析--转
所属栏目:[Linux] 日期:2021-01-24 热度:150
副标题#e# 简介:?本文详尽地分析了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 热度:53
副标题#e# 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[详细]
-
Anatomy of the Linux kernel--转
所属栏目:[Linux] 日期:2021-01-24 热度:167
副标题#e# 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[详细]
-
DNS服务器全面解析--转
所属栏目:[Linux] 日期:2021-01-24 热度:154
副标题#e# 引用地址: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 热度:157
副标题#e# 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?[?-cd[详细]
-
15+ tar command usages with examples – Unix/Linux--referenc
所属栏目:[Linux] 日期:2021-01-24 热度:191
副标题#e# reference :http://crybit.com/tar-command-usages-with-examples/ The ‘tar’ saves many files together into a single tape or disk archive,and can restore individual files from the archive. It is very useful in such conditions like[详细]
-
Linux 进程管理剖析--转
所属栏目:[Linux] 日期:2021-01-24 热度:94
副标题#e# 地址:http://www.ibm.com/developerworks/cn/linux/l-linux-process-management/index.html Linux 是一种动态系统,能够适应不断变化的计算需求。Linux 计算需求的表现是以 进程 ?的通用抽象为中心的。进程可以是短期的(从命令行执行的一个命令[详细]
-
探索 Linux 内存模型--转
所属栏目:[Linux] 日期:2021-01-24 热度:80
副标题#e# 引用:http://www.ibm.com/developerworks/cn/linux/l-memmod/index.html 理解 Linux 使用的内存模型是从更大程度上掌握 Linux 设计和实现的第一步,因此本文将概述 Linux 内存模型和管理。 Linux 使用的是单一整体式结构 (Monolithic),其中定义[详细]
-
DDNS 的工作原理及其在 Linux 上的实现--转
所属栏目:[Linux] 日期:2021-01-24 热度:64
副标题#e# http://www.ibm.com/developerworks/cn/linux/1305_wanghz_ddns/index.html DDNS (Dynamic DNS) 扩展了 DNS 将客户端 IP 与其域名进行静态映射的功能,它可以将同一域名实时地解析为不同的动态 IP,而不需要额外的人工干预。这在客户端 IP 地址不[详细]
-
Common Linux log files name and usage--reference
所属栏目:[Linux] 日期:2021-01-24 热度:71
副标题#e# div id="post-body-7256318887016413630" class="post-single-body post-body" div dir="ltr"If you spend lot of time in Linux environment,it is essential that you know where the log files are located,and what is contained in each and[详细]
-
linux vi 撤销重做于前进后退--转
所属栏目:[Linux] 日期:2021-01-24 热度:119
在vi中按u可以撤销一次操作 u?? 撤销上一步的操作Ctrl+r 恢复上一步被撤销的操作 注意:如果你输入“u”两次,你的文本恢复原样,那应该是你的Vim被配置在Vi兼容模式了。重做如果你撤销得太多,你可以输入CTRL-R(redo)回退前一个命令。换句话说,它撤销[详细]
-
linux乱码问题
所属栏目:[Linux] 日期:2021-01-24 热度:127
命令输入: export LANG=zh_CN.GBK grep?匹配时高亮 先执行:export GREP_OPTIONS== 这条命令添加到 ~/.bash_profile 的最后,重启,就不用每次都执行该命令。 nohub ? /dev/null?2>1? . 单一个 符号,且放在完整指令列的最后端,即表示将该指令列放入后台[详细]
-
Linux内核--网络栈实现分析(一)--网络栈初始化--转
所属栏目:[Linux] 日期:2021-01-24 热度:189
副标题#e# 转载地址? 作者:闫明 ?本文分析基于内核Linux Kernel 1.2.13 以后的系列博文将深入分析Linux内核的网络栈实现原理,这里看到曹桂平博士的分析后,也决定选择Linux内核1.2.13版本进行分析。 原因如下: 1.功能和网络栈层次已经非常清晰 2.该版[详细]
-
20+ Rsync command’s switches and common usages with example
所属栏目:[Linux] 日期:2021-01-24 热度:134
副标题#e# reference:http://crybit.com/rsync-commands-switches/ The “rsync” is a powerful command under the Linux environment. The rsync stands for Remote Sync. Normally rsync is used to transfer file from one server(source) to another[详细]