![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux学习积累
tb520ff
这个作者很懒,什么都没留下…
展开
-
linux 中解析命令行参数 (getopt_long用法)
getopt_long支持长选项的命令行解析,使用man getopt_long,得到其声明如下: #include int getopt_long(int argc, char * const argv[], const char *optstring, const struct option转载 2014-03-03 15:50:35 · 456 阅读 · 0 评论 -
open函数参数及返回值
open(打开文件) 相关函数 read,write,fcntl,close,link,stat,umask,unlink,fopen 表头文件 #include#include#include 定义函数 int open( const char * pathname, int flags);int open( const char * pathname,int flags转载 2014-03-05 10:18:01 · 1959 阅读 · 0 评论 -
VIM配置方法
手把手教你把Vim改装成一个IDE编程环境(图文)By:吴垠Date:2007-09-07Version:0.5Email:lazy.fox.wu#gmail.comHomepage:http://blog.csdn.net/wooinCopyright:该文章版权由吴垠和他可爱的老婆小包子所有转载 2014-04-25 13:56:26 · 587 阅读 · 0 评论 -
Netstat
简介Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。输出信息含义执行netstat后,其输出结果为Active Internet connections (w/o servers)Proto Re转载 2014-07-02 20:40:47 · 464 阅读 · 0 评论 -
linux lsof详解
lsof简介lsof(list open files)是一个列出当前系统打开文件的工具。在linux环境下,任何事物都以文件的形式存在,通过文件不仅仅可以访问常规数据,还可以访问网络连接和硬件。所以如传输控制协议 (TCP) 和用户数据报协议 (UDP) 套接字等,系统在后台都为该应用程序分配了一个文件描述符,无论这个文件的本质如何,该文件描述符为应用程序与基础操作系统之间的交互提供了通用转载 2014-07-02 20:41:51 · 358 阅读 · 0 评论 -
linux ps命令介绍
ps:将某个时间点的程序运作情况撷取下来[root@linux ~]# ps aux[root@linux ~]# ps -lA[root@linux ~]# ps axjf参数:-A :所有的 process 均显示出来,与 -e 具有同样的效用;-a :不与 terminal 有关的所有 proce转载 2014-07-02 20:42:06 · 434 阅读 · 0 评论 -
centos7 安装nginx 完整步骤
1.安装gcc gcc是用来编译下载下来的nginx源码 yum install gcc-c++2、安装pcre和pcre-devel PCRE(Perl Compatible Regular Expressions) 是一个Perl库,包括 perl 兼容的正则表达式库。nginx 的 http 模块使用 pcre 来解析正则表达式,pcre-devel 是使用 pcre 开...转载 2018-10-10 16:32:38 · 33249 阅读 · 5 评论