Difference between revisions of "OPS435 Lecture 1 - Bash"
(Created page with '* Overview of course including ** assignment expectations ** lab preparation ** teacher policies. ** subject outline ** evaluation *** one midterm test 30% *** ten labs 10% *** f…') |
|||
Line 46: | Line 46: | ||
** file | ** file | ||
** cd | ** cd | ||
+ | |||
+ | [[Category:OPS435]] |
Revision as of 02:03, 15 January 2016
- Overview of course including
- assignment expectations
- lab preparation
- teacher policies.
- subject outline
- evaluation
- one midterm test 30%
- ten labs 10%
- first assignment 8%
- second assignment 12%
- first quiz 2%
- second quiz 3%
- final exam 35%
- Coding Style
- Always include author, date, purpose and usage
- Tabs are 8 characters, use 2 spaces instead
- Break long lines into smaller ones
- Use correct indentation
- Use short meaningful variable names
- Make functions short with one exit point
- Add short comments to explain complex statements
- Using the Linux GUI
- Work with three open windows
- editor such as gedit
- terminal such as konsole
- browser such as firefox
- Work with three open windows
- Make use of desktops if you need more windows
- Using the Linux CLI
- Use "ssh -CX username@matrix.senecac.on.ca"
- Use scp to copy files from local PC to/from Matrix
- Example Commands
- file
- man
- display
- ssh
- scp
- echo
- quota
- Also discussed the PATH variable
- to see your path use
- echo $PATH
- to set your path use
- export PATH
- to set your path for a terminal session include it in your .bashrc file
- to see your path use
- Gave examples of
- file
- cd