User Tools

Site Tools


journal:spring2019:jsamson3:week6

Differences

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

Link to this comparison view

journal:spring2019:jsamson3:week6 [2019/02/28 07:18]
127.0.0.1 external edit
journal:spring2019:jsamson3:week6 [2019/03/06 20:04] (current)
jsamson3 March 6, 2019
Line 1: Line 1:
 =====unix week6===== =====unix week6=====
 ---- ----
-====MONTH DayYEAR====+====March 62019====
  
-Filler ​textyour entry goes here; remove ​this line to receive full credit.+This week in Unix we learned how to start to write scripts and how to automate everything. 
 +To start things off, we learned how to write scripts on the best text editor in the world, Vi. 
 +When you start to create these scripts you want to have the following up at the very top of the file. 
 + 
 +**#​!/​bin/​bash** 
 + 
 +This signifies that the fine can be executable on bash. 
 + 
 +From there you write your script and you can do a good amount of stuff. 
 + 
 +All the examples that Matt Haas walked us through and created are located in the following directory. 
 + 
 +**lab46:/​var/​public/​spring2019/​unix/​examples** 
 + 
 +In this directory you will find script1 , script2 , and script3.sh 
 + 
 +My favorite personally was script3.sh which is a number guessing game. When I created my game I based it off Fortnite and had it throw insults at you when you got it incorrect.  
 + 
 +But was basically the gist of this week. The next project coming up will put our script making skills ​to the test... But we'll see when I get there:D
  
journal/spring2019/jsamson3/week6.txt · Last modified: 2019/03/06 20:04 by jsamson3