User Tools

Site Tools


notes:unix

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
notes:unix [2019/04/14 18:16]
rbintlif [Projects]
notes:unix [2019/05/03 13:55] (current)
bmather2 [Notes]
Line 17: Line 17:
   * Drink green tea. The combination of caffeine and l-theanine gives you a nice clear mental boost.   * Drink green tea. The combination of caffeine and l-theanine gives you a nice clear mental boost.
   * Stay calm. It'll be OK.   * Stay calm. It'll be OK.
 +
 +
 +
 +
 +
  
 ======URLs====== ======URLs======
 Helpful for webpage project. Helpful for webpage project.
 [[https://​www.simplehtmlguide.com/​cheatsheet.php]] [[https://​www.simplehtmlguide.com/​cheatsheet.php]]
 +
 +Some good information about the Printf command:
 +[[https://​wiki-dev.bash-hackers.org/​commands/​builtin/​printf]]
 ======Notes====== ======Notes======
  
Line 130: Line 138:
 You can prefix many of these commands (i.e. with numbers for repitition)\\ You can prefix many of these commands (i.e. with numbers for repitition)\\
  
 +__**Regular Expressions**__\\
 +
 +
 +__Basic Regular Expresions (regex)__\\
 +
 +$     end of line\\
 +\?    match 0 or 1 of the previous\\
 +.     match any single symbol\\
 +*     match 0 or more of the previous\\
 +[]    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\\
 +()     ​goup\\
 +\( \)  regex group\\
 +
 +tools that use these include:\\
 +vim, egrep, sed, awk\\
 =====EXTRA===== =====EXTRA=====
  
notes/unix.1555280174.txt.gz · Last modified: 2019/04/14 18:16 by rbintlif