码迷,mamicode.com
首页 >  
搜索关键字:wc 统计字数    ( 1887个结果
CentOS常用命令
(一)网络相关1、 查看某一个端口: netstat -lnp|grep 802、查看占用端口: netstat -lnp 或者 netstat -tnlup(二)软件相关1、安装了多少个软件包: rpm-qa|wc-l yum list installed | wc -l2、安装了哪些: r...
分类:其他好文   时间:2014-07-16 23:19:40    阅读次数:175
查看 并发请求数及其TCP连接状态
服务器上的一些统计数据:1)统计80端口连接数netstat -nat|grep -i "80"|wc -l2)统计httpd协议连接数ps -ef|grep httpd|wc -l3)、统计已连接上的,状态为“establishednetstat -na|grep ESTABLISHED|wc -...
分类:其他好文   时间:2014-07-10 13:05:18    阅读次数:164
xcode技巧
1.统计ios开发代码,包括头文件的,终端命令进入项目目录下,命令如下find . -name "*.m" -or -name "*.h" -or -name "*.xib" -or -name "*.c" |xargs wc -l 列出每个文件的行数find . -name "*.m" -or -...
分类:其他好文   时间:2014-07-07 20:19:15    阅读次数:254
[Linux/Command] wc
wc 命令可以打印目标文件的换行、单词和字节数。其中换行数 = 总行数 - 1,单词数则按照空格分隔的英文单词数进行统计,也就是说连续的汉字(短语、句子)都视作一个单词。NAME wc - 打印每个目标文件的换行、单词和字节数量。SYNOPSIS wc [OPTION]... [F...
分类:系统相关   时间:2014-07-07 17:59:23    阅读次数:242
weblogic管理脚本
start.shJava代码#!/usr/bin/bash##start.sh#@auth:zhoulin@lianchuang.com#SERVER_STATUS(){serv_status=`ps-ef|grepweblogic|grepwebapp|grep-vgrep|grep$1|wc-l...
分类:Web程序   时间:2014-06-30 23:05:20    阅读次数:578
Glossary of view transformations
Glossary of view transformationsThe following terms are used to define view orientation, i.e. transformation from World Coordinates (WC) to the View R...
分类:其他好文   时间:2014-06-27 18:23:59    阅读次数:240
linux 命令c语言代码实现
自己学习《APUE》时写的linux下一些命令(大概40个左右)实现,仅当学习使用,这些命令包括cat cp echo head ls paste rmdir tail umask who chattr cut expand join mkdir pwd sed tee uniq chgrp date find last mkfifo reboot sort wc chmod df ln mv rename split touch which chown du grep lsattr od rm tac t...
分类:编程语言   时间:2014-06-26 10:51:39    阅读次数:423
linux 开机批量启动程序
每天早上到公司第一件事打开电脑,打开我的qq,我的开发工具idea,在看看邮件,日复一日,变懒了,也变聪明了,写了下面一段脚本 文件名:mystart.sh #!bin/bash #检验我的开发工具是否已经启动,如果没有启动,启动程序,并在终端打印简单启动信息 ideaNum=`ps -ef | grep idea | awk '{print $2}' | wc -l`...
分类:系统相关   时间:2014-06-24 23:16:30    阅读次数:312
SVN:This client is too old to work with working copy…解决办法
解决svn:This client is too old问题      1、下载官方的python文件 http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py 2、下载安装python,执行python文件时有用 ,下载地址:http://code.go...
分类:其他好文   时间:2014-06-22 18:36:10    阅读次数:354
Hadoop Streaming 编程
1、概述Hadoop Streaming是Hadoop提供的一个编程工具,它允许用户使用任何可执行文件或者脚本文件作为Mapper和Reducer,例如:采用shell脚本语言中的一些命令作为mapper和reducer(cat作为mapper,wc作为reducer)$HADOOP_HOME/bi...
分类:其他好文   时间:2014-06-19 06:10:13    阅读次数:345
1887条   上一页 1 ... 185 186 187 188 189 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!