win: you need to install either
MobaXterm (a terminal, command line shell, and POSIX compatibility)
WSL (a port of Linux to Windows that can run Linux applications directly)
a virtual machine (VMWare Player or VirtualBox) with Linux or BSD guest
OS
you must do this before class or you will not be able to complete the in-class assignment
Finder/Explorer vs. the command line: file system layout and navigation
Why using the command line will make you ten times more productive and a more effective engineer
+++ Everyone has to submit a text file for the next week's class.
Content of the file has to be non-trivial but easy to generate.
About a paragraph to a page is OK.
Make it something interesting to read.
Week 06 Command line
“You do not rise to the level of your goals. You fall to the level of your systems.”
– James Clear
http://web.cs.ucla.edu/~miryung/teaching/EE461L-Spring2012/labs/posix.html
https://wiki.lib.sun.ac.za/images/c/ca/TLCL-13.07.pdf
https://swcarpentry.github.io/shell-novice/
https://flaviocopes.com/bash/
https://flaviocopes.com/bash-scripting/
http://www.ee.surrey.ac.uk/Teaching/Unix/
Outcomes:
understand the difference between absolute and relative path names
understand the need for relative path names and therefore the need for the concept of CWD
know how to convert to/from absolute path name and path name relative to some CWD
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 07 Command line: command sequencing
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 08 Command line: variables
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 09 Command line: loops and conditionals
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 10 The Internet
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 11 Data mobility
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 12 The WWW
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lines for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 13 Content creation
self-prep assignment
research how to write a simple web page
research how simple
CSS works
…
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 14 Web applications and cloud services
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)
Week 15 Safety and security
Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
Generate a CSV file containing the raw data.
Import the data into a spreadsheet.
Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
(wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
Alphabetical list of unique words used with a count of how many times they are used.
(sort command)