<cut> 作用:从输入文件或者命令的输出中析取出各种域 用法:cut –c{字符串范围} –d{字段间分割符} –f{字段索引编号} 举例: (1)查看在线用户:who | cut –c1-8 (2)从系统文件/etc/passwd中获取用户名列表:cut –d: -f1 /etc/passwd
分类:
系统相关 时间:
2016-02-01 18:52:52
阅读次数:
298
Here's to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differentl...
分类:
其他好文 时间:
2016-01-21 00:10:09
阅读次数:
167
一、先看看文档里怎么说 Base class for those who need to maintain global application state. You can provide your own implementation by specifying its name in your...
分类:
移动开发 时间:
2016-01-18 10:21:23
阅读次数:
198
Hadoop: Setup Maven project for MapReduce in5mn25 MAY 2013/ANTOINE AMENDI am sure I am not the only one who ever struggled with Hadoop eclipse plugin ...
分类:
其他好文 时间:
2016-01-14 15:49:54
阅读次数:
289
坚持学习英语,OMG口语非常长不错,坚持每天整理.学英语坚持最重要,学英语坚持最重要,学英语坚持最重要说三遍! BFF一辈子的好友If you all have been watching OMGMeiyu for a while you know Melissa is my BFF.如果你看OMG...
分类:
其他好文 时间:
2016-01-13 08:11:38
阅读次数:
195
sudo:想要使用sudo,需要先在 /etc/sudoers 中定义 定义某个用户能够以另外一个用户的身份通过某主机执行某命令 # visudo 一个sudo条目: who which_hosts=(runas) command who which_hosts=(runas) NOPASSWD.....
分类:
系统相关 时间:
2016-01-09 15:20:49
阅读次数:
243
命令格式:groups用户名id用户名who或w命令功能:groups查询用户账号所属的组id查询用户账号的身份标识who查看当前主机的用户登录情况常用范例:例一:查询zhangsan所属的组都有哪些命令:groupszhangsan例二:查看zhangsan的用户账号信息命令:idzhangsan例三:查看当前主机的..
分类:
系统相关 时间:
2016-01-05 09:50:08
阅读次数:
284
书的英文名是it's not the how or the what but the who,比中文名更直白,直接突出了人才的重要地位。这本书是一个高管猎头公司的高管心得总结,总计45篇稍显散乱,按照6个部分划分了章节,覆盖了选人、评估、培养、团队、社会几个维度。书中第4篇熟悉的魔鬼中谈到,选择内部...
分类:
其他好文 时间:
2016-01-02 00:57:45
阅读次数:
284
----------------------------------------------实际应用中的其他常见的字符串方法>>>line = "the knights who say ni!\n">>>line.restrip(); 清楚末尾的空格the knights who say ni!>>...
分类:
编程语言 时间:
2015-12-28 23:39:15
阅读次数:
217
My father got me a computer for graduation with 512MB RAM and a Pentium processor. It came with Windows XP, and I used it to do 2D animation with Adob...
分类:
系统相关 时间:
2015-12-25 18:48:33
阅读次数:
227