
linux命令
iteye_13299
这个作者很懒,什么都没留下…
展开
-
vi(m)的使用
转载:http://www.linuxidc.com/Linux/2007-10/8686.htm1、vi的基本概念 基本上vi可以分为三种状态,分别是命令模式(command mode)、插入模式(Insert mode)和底行模式(last line mode)1) 命令行模式command mode) 控制屏幕光标的移动,字符、字或行的删除,移动复制某区段及进入Ins...原创 2009-06-18 11:30:07 · 250 阅读 · 0 评论 -
linux命令
命令:1、ifconfig | more :显示网卡信息2、df :显示分区信息以下内容摘自:http://blog.youkuaiyun.com/cutesource/archive/2010/12/07/6061229.aspx系统参数cat /proc/cpuinfo cpu相关参数cat /proc/meminfo 内存相关参数cat /proc/load...原创 2009-08-22 22:41:53 · 109 阅读 · 0 评论 -
shell 命令 find
deal_log.sh[code="shell"]#! /bin/bashfind /home/*/* -maxdepth 4 -regex ".+\(\.log\|catalina\.out\)\(\.[\d\-]*\)?" -exec ./deal_file.sh {} \; find /opt/logs -type f -regex ".+\.log\(\.[0-9\-...原创 2013-05-23 15:59:56 · 231 阅读 · 0 评论