-
Notifications
You must be signed in to change notification settings - Fork 4
/
thoughts_for_instructors.txt
97 lines (56 loc) · 2.17 KB
/
thoughts_for_instructors.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
=============================
Overview and time consumption
=============================
Explanation commands/concepts Type of activity
----------- ----------------- ----------------
Bash basics:
* Concept of bash shell
- directories, list their contents (pwd, ls) type-along-exercise
- copy files, create directories (cp, mv, cd, mkdir) type-along-exercise
- File paths (relative, absolute) demo
- view files, read manuals (man, cat, head, type-along-exercise
tail, history)
- Some practice on combining (grep, output redirection type-along-exercise
commands. find, pipes)
>>> Estimated time usage so far: 15 min
Processes:
* You want to run programs and
running programs are processes
- General info and demo (top, firefox, pid) type-along/demo
- foreground and background (&,kill, pkill, Ctrl-c) type-along/demo (?)
File/directory permissions
* Concept of permissions (rwx, user, group, demo (exercises pushed later)
others, chmod)
Hotkeys
* Concept (TAB) type-along
(home, end, up/down listed
Ctrl-l/r, Ctrl-Shift-s/v)
>>> Estimated time usage so far: 25 min
Suggestion: Pause for 5 min and help people login to Tegner.
For the actual login session later, they can first
logout and then login as type-along.
[On Tegner]
hello Tegner
* Quick hello (w, last) individual trials
commandline editor - nano
* Basic introdution (nano) type-along-exercise
Environtment variables
* Basic notion (echo, $HOME, $) type-along-exercise
initialization/configuration files
* .bashrc (less, source type-along-exercise
added HISTTIMEFORMAT)
* .inputrc (replace up/down, type-along-exercise
copy file from tkl)
on purpose, no permission
first)
>>> Estimated time usage so far: 40 min
General exercises: easy to advanced
* List dot files (ls -a)
* Special characters (./ ../ ~, *, ?, [], [!], {abc,xyz}, {1..10})
* Quotation marks ("", '')
* Symbolic links (ln -s)
* Creating files (touch)
* File permissions (chgrp, ACL, "nested permission")
* Gnu screen
* Prompt customization
*