User Tools

Site Tools


journal:spring2019:jgallahe:week11

Differences

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

Link to this comparison view

journal:spring2019:jgallahe:week11 [2019/04/11 06:02]
127.0.0.1 external edit
journal:spring2019:jgallahe:week11 [2019/04/15 16:31] (current)
jgallahe
Line 1: Line 1:
 =====unix week11===== =====unix week11=====
 ---- ----
-====MONTH DayYEAR====+====APRIL 152019====
  
-Filler textyour entry goes here; remove this line to receive full credit.+GENERAL: 
 + 
 +let one of the ways to do extremely basic math in bash script (+-*) 
 + 
 +bc - does more advanced math functions 
 + 
 +printf ??? 
 + 
 +SCRIPT STUFF: 
 + 
 +Var - information "​bucket",​ independent information that is accessible 
 + 
 +Array - a multi-faceted "​bucket"​ or "an inventory",​ that stores similar data ideas 
 + 
 +ARRAY: 
 + 
 +Independent - uses a numerical index 
 + 
 +associative - uses a string as an index 
 + 
 +declare -a pobox : create an independent array 
 + 
 +pobox[0]="​jim"​ : assign individual things to array elements 
 + 
 +pobox[1]="​bob"​ 
 + 
 +pobox[2]="​sue"​ 
 + 
 +pobox[3]="​ed"​ 
 + 
 +pobox[4]="​sam"​ 
 + 
 +echo "​${pobox[0]}"​ : echo the data space "​0"​ from the array of pobox 
 + 
 +This week we dove into arrays and had more fun with letter long division. We also got a little sneak peek into the net project in pwn0. Where we will be creating a script to display a table of values in different base counting units. i.e. binary through base 16. This looks on the surface like a barrel of fun *sarcasm*, but it will be good.
  
journal/spring2019/jgallahe/week11.txt · Last modified: 2019/04/15 16:31 by jgallahe