- 浏览: 194332 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (291)
- ERP (3)
- JSP/Servlet (13)
- DB (8)
- MongoDB (2)
- Python (3)
- Maven (8)
- GIT (1)
- Windows (8)
- Java (24)
- Informatica (2)
- PHP (1)
- Javascript (25)
- Tomcat (2)
- spring (13)
- HTML5 (11)
- Nginx (2)
- NodeJS (6)
- Linux (40)
- AngularJS (1)
- Android (3)
- Selenium (3)
- 理财 (6)
- 工作心得 (9)
- SQLServer (10)
- Hibernate/JPA (6)
- Bootstrap (1)
- C# (3)
- MySql (4)
- highchart (1)
- hadoop (5)
- ZooKeeper (2)
- Hbase (8)
- Avro (2)
- Hive (2)
- Flume (5)
- Kafka (11)
- Sqoop (3)
- Pig (1)
- Spark (1)
- Storm (2)
- Redis (1)
- Memcached (1)
- Dubbo (2)
- Phoenix (2)
最新评论
-
一尾金鱼:
可以作为查询手册了,页面布局也好~
JSP EL -
darkgost:
您好,我按照你的方法,在Service1.cs中添加如下代码: ...
C#Windows 服务制作安装删除. 用户注销后,程序继续运行
1.基于关键字搜索
syntax:grep [paramter] "keywords" filepath
[paramter]: -i ignore upper or lower case
-n show the located row number
-v show the row which not contain the "keywords"
-Ax show specific number of rows after the "keywords" located row
-Bx show specific number of rows after the "keywords" located row
eg: find / -user msdomain1\pzhou | grep 'keywords
grep -B3 "peter" /date/file
2. cut基于列处理文本
syntax: cut [paramter] file
paramter: -d point out he seperate words (default tab)
-f point out the numver of column which will be output
-c cut rows by index of character in each row
eg: cut -c2-6 /etc/passwrod show form 2 to 6 character of each row
cut -d: -f1 /ect/passwd
3. wc statistic infor of text
syntax: cut [params] file
params: -l number of rows
-w number of words
-c number of byte
-m number of character
4.sort text
syntax: sort [params] file
params: -r order by desc
-n sort by number
-f ingore upper or lower case
-u delete duplicated row
5.uniq delete duplicated labour rows
syntax: uniq file
6. compare two file
syntax: diff [param] file1 file2
params: -i ignore upper or lower case
-b ignore blank
-u make a output more uniform(use to make patch file)
7.check spell
syntax: aspell file
8.tranfer file
syntax: tr [params] < filepath
params: -d 'words' delete all 'words'
'a-z' 'A-Z' switch from lower case to upper case
9 replace workds
syntax: sed
eg: sed 's/word1/word2/g' file search(s) and replease all(globally g) word1 to replace word2
sed '1,50s/word1/word2/g' file search and replace for row 1to50
sed -e 's/word1/word2/g' -e 's/word3/word4/g' file iterate replace condition
sed -f conditionfilename file release replace condition from file
syntax:grep [paramter] "keywords" filepath
[paramter]: -i ignore upper or lower case
-n show the located row number
-v show the row which not contain the "keywords"
-Ax show specific number of rows after the "keywords" located row
-Bx show specific number of rows after the "keywords" located row
eg: find / -user msdomain1\pzhou | grep 'keywords
grep -B3 "peter" /date/file
2. cut基于列处理文本
syntax: cut [paramter] file
paramter: -d point out he seperate words (default tab)
-f point out the numver of column which will be output
-c cut rows by index of character in each row
eg: cut -c2-6 /etc/passwrod show form 2 to 6 character of each row
cut -d: -f1 /ect/passwd
3. wc statistic infor of text
syntax: cut [params] file
params: -l number of rows
-w number of words
-c number of byte
-m number of character
4.sort text
syntax: sort [params] file
params: -r order by desc
-n sort by number
-f ingore upper or lower case
-u delete duplicated row
5.uniq delete duplicated labour rows
syntax: uniq file
6. compare two file
syntax: diff [param] file1 file2
params: -i ignore upper or lower case
-b ignore blank
-u make a output more uniform(use to make patch file)
7.check spell
syntax: aspell file
8.tranfer file
syntax: tr [params] < filepath
params: -d 'words' delete all 'words'
'a-z' 'A-Z' switch from lower case to upper case
9 replace workds
syntax: sed
eg: sed 's/word1/word2/g' file search(s) and replease all(globally g) word1 to replace word2
sed '1,50s/word1/word2/g' file search and replace for row 1to50
sed -e 's/word1/word2/g' -e 's/word3/word4/g' file iterate replace condition
sed -f conditionfilename file release replace condition from file
发表评论
-
linux后台运行和关闭、查看后台任务
2017-07-11 19:18 784linux后台运行和关闭、查看后台任务 fg、bg ... -
Linux包管理rpm yum
2017-06-19 18:50 372rpm命令是RPM软件包的管理工具。rpm原本是R ... -
shell脚本监控登录用户是否异常
2017-05-16 15:18 5871, 下载php apt install php 或 ... -
网络神器 Netcat
2017-05-10 15:31 365参考: http://www.oschina.net ... -
8 个实用的 Linux netcat 命令示例
2017-05-10 15:30 301Netcat 或者叫 nc 是 Linux ... -
Linux 跳板机脚本
2017-05-10 13:00 751先生成和分发秘钥: ssh-keygen -t dsa - ... -
Bash脚本:下载编译安装nginx
2017-05-03 14:59 363下载nginx-1.8.1.tar.gz, 安装到目录/u ... -
bash脚本: 监控Tomcat
2017-05-03 11:31 245#!/bin/bash ########### ... -
循环语句 for while until
2017-04-21 10:02 246for i in /etc/lock/subsy ... -
Linux echo命令详解
2017-04-14 15:39 343-n: 不进行换行; -e:激活转义字符。使用-e选 ... -
Linux 内存 CPU 磁盘 网络流量的监控
2017-04-14 11:12 686内存: free 命令 free命令由procp ... -
Linux 设置发送qq邮件
2017-04-13 16:44 439操作系统:centos 6.8 1. 安装mail ... -
bash编程之 crontab 定时任务
2017-03-30 09:16 327crontab 定时任务 # Example of j ... -
bash编程之 find文件查找工具
2017-03-30 09:13 363find 文件查找工具,通过遍历指定路径下的文件系统完成查找 ... -
bash编程之 第六课作业
2017-03-25 18:29 2901、脚本使用格式: mkscript.sh [-D|--d ... -
bash编程之 字符串操作
2017-03-25 15:58 365字符串切片:${var:offset:lenth} a= ... -
bash编程之 函数
2017-03-24 15:47 484函数:代码复用 模块编程 语法: function ... -
bash编程之 数组
2017-03-24 15:41 402数组:连续的多个独立内存空间,每个内存空间相当于一个变量 ... -
bash编程之 小技巧
2017-03-24 15:28 235管道:将一个命令的 ... -
bash编程之 条件判断
2017-03-24 15:10 287条件测试: [ EXPRESSION ...
相关推荐
7.2 编C语言程序 7.3 make工具 7.4 gdb调试工具 第8章 Bourn Again Shell编程 8.1 bash脚本的建立和运行 8.2 shell的变量 8.3 shell脚本位置参数的传递 8.4 控制结构语句 8.5 其他几个有用的语句 8.6 数值处理 8.7 ...
使用命令行进行管理是Linux系统的特点,对于Windows用户来说,需要尽快适应这种操作方式。 了解了命令的功能之后,还需要通过实践来掌握这些命令的使用方法,因为它们是进行系统管理的基础。 ·2.1 Linux的DOS-...
7.2 快速解决方案 88 7.2.1 查找窗口管理器程序 88 7.2.2 在Gnome桌面环境中运行程序 88 7.2.3 在Gnome桌面环境中隐藏任务条 89 7.2.4 使用Gnome桌面环境中的帮助系统 89 7.2.5 使用Gnome桌面环境中的控制面板 90 ...
本书详细讲解了用Linux的图形配置工具配置Caldera OpenLinux,通过一个ppp与网络连接、使用K桌面环境、用StarOffice提高在家办公的效率、网络浏览、发传真、接收email及使用GIMP等图形工具。 24学时每次1小时的课程...
7.2 SMTP和sendmail 106 7.2.1 Internet邮件协议 106 7.2.2 域名系统和电子邮件 107 7.2.3 sendmail的工作 110 7.2.4 sendmail的辅助文件 111 7.2.5 别名文件 111 7.2.6 设置sendmail 112 7.2.7 sendmail.cf:配置...
7.2 在行首以^匹配字符串或字符序列 50 7.3 在行尾以$匹配字符串或字符 51 7.4 使用*匹配字符串中的单字符或其重复 序列 51 7.5 使用\屏蔽一个特殊字符的含义 52 7.6 使用[]匹配一个范围或集合 52 7.7 使用\{\}匹配...
此相对独立 4 1.3.3 Windows中的“网络邻居”概念 5 1.3.4 Windows中的注册表文件与文本文 件的比较 6 1.3.5 域的概念 6 1.4 小结 7 第2章 按服务器配置安装Linux 8 2.1 安装之前 8 2.1.1 ...
16.2.2 通过命令行管理打印机 16.2.3 通过web界面管理打印机 16.3 使用CUPS打印 16.3.1 打印文件 16.3.2 选择打印机 16.3.3 标准打印选项 第十七章 基本网络配置与管理 17.1 网络环境概述 17.1.1 使用ADSL连接 ...
7.2 在行首以^匹配字符串或字符序列 50 7.3 在行尾以$匹配字符串或字符 51 7.4 使用*匹配字符串中的单字符或其重复 序列 51 7.5 使用\屏蔽一个特殊字符的含义 52 7.6 使用[]匹配一个范围或集合 52 7.7 使用\{\}匹配...
7.2 在行首以^匹配字符串或字符序列 50 7.3 在行尾以$匹配字符串或字符 51 7.4 使用*匹配字符串中的单字符或其重复 序列 51 7.5 使用\屏蔽一个特殊字符的含义 52 7.6 使用[]匹配一个范围或集合 52 7.7 使用\{\}匹配...
7.2 快速解决方案 88 7.2.1 查找窗口管理器程序 88 7.2.2 在Gnome桌面环境中运行程序 88 7.2.3 在Gnome桌面环境中隐藏任务条 89 7.2.4 使用Gnome桌面环境中的帮助系统 89 7.2.5 使用Gnome桌面环境中的控制面板 ...
7.2 在行首以^匹配字符串或字符序列 50 7.3 在行尾以$匹配字符串或字符 51 7.4 使用*匹配字符串中的单字符或其重复 序列 51 7.5 使用\屏蔽一个特殊字符的含义 52 7.6 使用[]匹配一个范围或集合 52 7.7 使用\{\}匹配...
第1章 BashShell命令 6 1.1 Shell提示符 6 1.2 文件与目录Shell命令 7 1.2.1 更改目录命令(cd) 7 1.2.2 列表命令(ls) 7 1.2.3 操作文件命令 10 1.2.4 目录处理命令 14 ...7.3.4 插入和附加文本 129
7.2 在行首以^匹配字符串或字符序列 50 7.3 在行尾以$匹配字符串或字符 51 7.4 使用*匹配字符串中的单字符或其重复 序列 51 7.5 使用\屏蔽一个特殊字符的含义 52 7.6 使用[]匹配一个范围或集合 52 7.7 使用\{\}匹配...
linux shell编程 教程大全 目 录 译者序 前言 第一部分 shell 第1章 文件安全与权限 1 1.1 文件 1 1.2 文件类型 2 1.3 权限 2 1.4 改变权限位 4 1.4.1 符号模式 4 1.4.2 chmod命令举例 5 1.4.3 绝对模式 5 1.4.4 ...
3.5 文本处理命令 3.6 信息显示命令 3.7 基本网络操作命令 第4章 Linux字符界面操作进阶 4.1 提高工作效率 4.1.1 命令行补全 4.1.2 命令历史 4.1.3 命令别名 4.2 重定向和管道 4.2.1 重定向 4.2.2 管道 4.3 文件权限...