User Tools

Site Tools


journal:spring2019:bmather2:week7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
journal:spring2019:bmather2:week7 [2019/03/07 17:07]
bmather2
journal:spring2019:bmather2:week7 [2019/03/12 16:18] (current)
bmather2
Line 2: Line 2:
 ---- ----
 ====March , 2019==== ====March , 2019====
 +__//Example scripts here://__
 +/​var/​public/​spring2019/​unix/​examples
 +
 +**__Regular Expressions__**\\
 +
 +__Basic Regular Expresions (regex)__\\
 +^    start of line\\
 +$    end of line\\
 +\?   match 0 or 1 of the previous\\
 +.    match any single symbol\\
 +*    match 0 or more of the previous //(prev char is part of this call)//\\
 +[]   match any one of the enclosed\\
 +[^ ] do not match any one of the enclosed\\
 +\<   match start of word\\
 +\>   match end of word\\
 +
 +tools that use these include:\\
 +vim, **grep**, sed, awk\\
 +
 +__Extended regex__\\
 ++     one or more of the previous\\
 +|     means '​or'​\\
 +()    goup\\
 +\( \) regex group\\
 +
 +tools that use these include:\\
 +vim, **egrep**, sed, awk\\
 +
 +
 +
 +
 +
 +
 +##################################################################################################​\\
 +
 +
 +**__NOTES FOR WPA0__**\\
 +
 chmod 755 for world readable and searchable\\ chmod 755 for world readable and searchable\\
 https://​lab46.g7n.org/​~bmather2/​adventure.html\\ https://​lab46.g7n.org/​~bmather2/​adventure.html\\
journal/spring2019/bmather2/week7.1551996464.txt.gz · Last modified: 2019/03/07 17:07 by bmather2