-
掌握Linux的用户(组),权限,文件精妙的三角关系,和强大的三级
所属栏目:[Linux] 日期:2021-02-24 热度:188
在linux中一切都是文件(文件夹和硬件外设是特殊的文件),如果有可能尽量使用文本文件。文本文件是人和机器能理解的文件,也成为人和机器进行 交流的最好途径。由于所有的配置文件都是文本,所以你只需要一个最简单的编辑器就可以修改。即使是2进制执行文[详细]
-
Linux全攻略--FTP服务器配置与管理
所属栏目:[Linux] 日期:2021-02-24 热度:151
???? FTP的全称是),就是专门用来传输文件的协议.它工作在OSI模型的第七层,即是应用层,使用TCP传输而不是UDP.这样FTP客户端和服务器建立连接前就要经过一个"三次握手"的过程.FTP服务还有一个非常重要的特点是它可以独立于平台. ??? LINUX下实现FTP服务的软[详细]
-
Linux 内核空间与用户空间
所属栏目:[Linux] 日期:2021-01-26 热度:110
系统调用、软中断和硬件中断。这三种方式每一种都涉及到大量的操作系统知识,所以这里不做展开。 内核空间 -> 用户空间。如下图所示(此图来自互联网):[详细]
-
linux free 命令
所属栏目:[Linux] 日期:2021-01-26 热度:59
$ -h -s Mem 行(第二行)是内存的使用情况。Swap 行(第三行)是交换空间的使用情况。total 列显示系统总的可用物理内存和交换空间大[详细]
-
linux dig 命令
所属栏目:[Linux] 日期:2021-01-26 热度:174
$ dig baidu.com /tr tr tdspan style="font-family: Microsoft YaHei; font-size: 15px"A/td tdspan style="font-family: Microsoft YaHei; font-size: 15px"地址记录,用来指定域名的 IPv4 地址,如果需要将域名指向一个 IP 地址,就需要添加 A 记录。/t[详细]
-
Ubuntu 中登录相关的日志
所属栏目:[Linux] 日期:2021-01-26 热度:58
$ nick@myserver $ vim /var/log/auth.log $ -f /var/log/btmp $ $ -f /var/log/wtmp. $ reboot $[详细]
-
linux sed 命令
所属栏目:[Linux] 日期:2021-01-26 热度:168
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-26 热度:193
[options] span style="color: #000000" […] : 把信号发送给列出的所有进程。 options :- span style="color: #000000" : 指定发送给进程的信号,指定信号的名称或号码都可以。 /span-l : 列出所有信号的名称和号码。/pre $ -l /tr tr tdspan style="font[详细]
-
TeamCity : 安装 Agent
所属栏目:[Linux] 日期:2021-01-26 热度:178
副标题#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-26 热度:85
副标题#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-26 热度:185
安装前的检查 首先查看是否已经安装了旧版本: 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-26 热度:158
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 getopt()函数 getopt_long()函数---转
所属栏目:[Linux] 日期:2021-01-25 热度:193
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-25 热度:168
地址: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-25 热度:61
副标题#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-25 热度:179
副标题#e# 出处:http://yijiu.blog.51cto.com/433846/1356254 iptables详解 基本概念: 1.防火墙工作在主机边缘:对于进出本网络或者本主机的数据报文,根据事先设定好的检查规则对其检查,对形迹可疑的报文一律按照事先定义好的处理机制做出相应处理 对lin[详细]
-
Find command usage in Linux with excellent examples--referen
所属栏目:[Linux] 日期:2021-01-25 热度:185
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[详细]
-
Linux下Makefile的automake生成全攻略--转
所属栏目:[Linux] 日期:2021-01-25 热度:82
副标题#e# http://www.yesky.com/120/1865620.shtml 作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么[详细]
-
linux文件操作命令--转
所属栏目:[Linux] 日期:2021-01-24 热度:162
引用地址: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 热度:149
前提:安装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 热度:113
http://blog.chinaunix.net/uid-25100840-id-302308.html 中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法, 1.手册页(Man Pages)对于Linux初学者,不能将手册页当教程,因为它只是简明的参考资料.在你需要了解某一[详细]
-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2021-01-24 热度:150
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 热度:102
副标题#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 热度:64
副标题#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 热度:194
副标题#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[详细]