2019-03-19课堂笔记

50%几率要答笔试题:


企业让面试者答笔试题的目的?

[if !supportLists]1、 [endif]筛选不合格的。

[if !supportLists]2、 [endif]选合格的(笔试阶段表现出优秀)。

[if !supportLists]3、 [endif]给面试官第一次的好印象,先入为主。

营销体验前置(幼鹅效应)。


一定要错过着两个几点,把卖你是官培养成幼鹅


投简历时候

面试邀约的时候


 老男孩思想之如何答笔试题?

[if !supportLists]1、 [endif]字要好,工整,给人感觉在用心。

[if !supportLists]2、 [endif]尽量多答一些。3W1H,特别是问答题。

[if !supportLists]3、 [endif]一定要给出多种答案(不低于3种答案)

[if !supportLists]4、 [endif]问答题,能画图绝对不用文字。

[if !supportLists]5、 [endif]

3W1H:


[if !supportLists]1、 [endif]什么是正则表达式?

作用和特殊字符一样。

正则表达式是为处理大量的字符串及文本而定义的一套规则和方法。

开发者

假设“@“代表”I am”代表”oldboy”,

则执行echo “@!”的结果就是输出“I am oldboy”.


发明语言:

上了火星,发明火星语。

!      我喜欢你

@      滚


[if !supportLists]2、 [endif]提高效率,快速获取到想要的内容。


[if !supportLists]3、 [endif]适用于三剑客命令 grep(egrep),sed,awk

                 以行为单位处理。

[if !supportLists]4、 [endif]实践来讲解


[if !vml]

[endif]

容易混淆的事项

[if !supportLists]1、 [endif]和通配符区别

[if !supportLists]2、 [endif]开发正则,一般是perl兼容正则

表达式。

Linux三剑客正则表达式*****。


环境准备:


export LC_ALL=C


分类:

1、BRE   基本表达式    grep

2、ERE    扩展表达式    egrep





陈述性记忆:

学游泳的知识,命令及参数以及咋用。

思维导图、画图形式   辅助记忆。



程序性记忆

游泳要想学会,就实际练习。

命令和参数要记住,就要不断练习。


带你实践、用例子。


过滤单词

[root@quyunlong/test]#

egrep "\boldboy" oldboy.txt

I am oldboy

teacher!

our site is

http://www.oldboyedu.com

[root@quyunlong/test]#egrep "oldboy" oldboy.txt

I am oldboyteacher!

our site ishttp://www.oldboyedu.com

[root@quyunlong/test]#egrep "\boldboy\b" oldboy.txt

I am oldboyteacher!

[root@quyunlong/test]#

[if !vml]


评书:三侠剑        老好了。嘎嘎好

侠客、剑客


Linux三剑客

Awk sed   grep


Sed

Sed是操作、过滤

[if !vml]

[endif]

Sed  选项        

[if !vml]

[endif]


[if !vml]

[endif]


Sed  ‘s#想替换什么#用啥替换#g’         oldgirl.Txt


[if !vml]

[endif]

你可能感兴趣的:(2019-03-19课堂笔记)