diff --git a/Makefile b/Makefile index 25c96f7..1ddf5e3 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SHELL = umask 002; exec /bin/sh FILES = events.ics events.atom news.atom index.html stats.html \ favicon.ico default.css csclub.der csclub.pem robots.txt -SUBDIRS = about events office news services media buttons logos flash library industry opencl +SUBDIRS = about events office news services media buttons logos flash library industry opencl unix102 include common.mk diff --git a/unix102/Makefile b/unix102/Makefile new file mode 100644 index 0000000..1522002 --- /dev/null +++ b/unix102/Makefile @@ -0,0 +1,3 @@ +FILES = index.html cheatsheet.pdf unix101.pdf +RELDIR = unix102/ +include ../common.mk diff --git a/unix102/cheatsheet.pdf b/unix102/cheatsheet.pdf new file mode 100644 index 0000000..a00708c Binary files /dev/null and b/unix102/cheatsheet.pdf differ diff --git a/unix102/directory.xml b/unix102/directory.xml new file mode 100644 index 0000000..c54dbe8 --- /dev/null +++ b/unix102/directory.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/unix102/index.xml b/unix102/index.xml new file mode 100644 index 0000000..83877ba --- /dev/null +++ b/unix102/index.xml @@ -0,0 +1,106 @@ + + + + + +
+ +
+

+ This page contains some links to material covered during UNIX 101 and 102, + as well as some extracurricular content for you to review in your free + time. +

+

+ Download the slides or cheatsheet handout from UNIX 101. +

+
+ +
+

+ First and foremost, make sure you have tried running vimtutor. This + program is available on the CSC systems, as well as the student.cs and + student.math environments. Try the following commands from a shell: +

+      ssh userid@linux.student.cs.uwaterloo.ca
+      vimtutor
+    
+ This document from sourceforge should also prove to be useful. +

+
+ +
+

+ From the GNU bash reference manual (a very good source of information, + albeit a little arcane and verbose): +

+ +

+ Here are some example bash scripts covered in today's lecture: +

+
    +
  • Simple script whose parameters are any number of text files, that will + print all the files and filenames to standard output: appender
  • +
  • Simple renaming script that takes two strings, one to replace with the + other, and renames all files in the current directory as specified: + renamer
  • +
  • Script that scrapes concert website for tickets and sends emails/text + messages when tickets are available: tickets_email
  • +
+
+ +
+

+ This + page + is a good brief reference for regular expressions. +

+
+ +
+

+ Here's an article I found claiming to list the top 10 git tutorials. + Whether or not that's true, you should still learn something. + Here is also a brief review of the commands we covered today. +

+

This clones a copy of the codebase for you to work on locally: +

+      git clone
+    
+ This "pulls" (updates with) any new changes others have made since you last + worked on the code, so they are now part of your local code: +
+      git pull
+    
+ This commits any of the changes that you've recently made in [files] (or -a + for everything), getting ready to "push" the changes to other users: +
+      git commit [files] (-a)
+    
+ This "pushes" (sends) your changes back to the "master" repository, + allowing other people working on the project to "pull" your changes. +
+      git push
+    
+

+
+ +
+

+ You might be surprised - almost all the information on this page was at + one point found using Google. Remember, your best resources for learning + more about UNIX are your friends, your manpages, and the internet. So + fire up your favorite search engine, and get learning! +

+
+ + +