Created
June 19, 2018 09:48
-
-
Save zazapeta/cfbbe962cdab175d7a3e4f507776a035 to your computer and use it in GitHub Desktop.
WCS_odyssey_unix_1 : Introduction à Unix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 ls * | |
2 ls | |
3 cat crimescene | |
4 head crimescene | |
5 head crimescene -20 | |
6 head crimescene 20 | |
7 head | |
8 head --help | |
9 head crimescene -n 20 | |
10 head crimescene -n 50 | |
11 cat crimescene | grep CLUE | |
12 cat * | grep CLUE | |
13 cat **/* | grep CLUE | |
14 cat */* | grep CLUE | |
15 cat interviews/interview-* | grep CLUE | |
16 cat memberships/* | grep CLUE | |
17 cat memberships/* | |
18 ls | |
19 cd .. | |
20 ls | |
21 cat README.md | |
22 cat instructions | |
23 cat hint* | |
24 grep CLUE ./mystery/crimescene | |
25 grep Annabel ./mystery/people | |
26 cat ./mystery/interviews/ | grep Annabel | |
27 cat ./mystery/interviews/* | grep Annabel | |
28 cat ./mystery/interviews/* | |
29 cat ./mystery/interviews/* Annabel | |
30 cat ./mystery/interviews/* | grep Annabel | |
31 grep Annabel ./mystery/people | |
32 cd mystery/ | |
33 cat ./streets/Abbot_Street | |
34 cat ./people/* | grep Annabel | |
35 cat ./people| grep Annabel | |
36 cat ./streets/Mattapan_Street | |
37 cat ./streets/Haley_Street | |
38 cat ./people| grep Annabel | |
39 cd .. | |
40 cat instructions | |
41 cat hint* | |
42 grep Annabel ./mystery/people | |
43 grep CLUE ./mystery/crimescene | |
44 grep -A 5 "L337" mystery/vehicles | |
45 grep -B 5 "L337" mystery/vehicles | |
46 grep -A 5 "L337" mystery/vehicles | |
47 grep -B 5 "L337" mystery/vehicles | |
48 grep -C 5 "L337" mystery/vehicles | |
49 grep -D 5 "L337" mystery/vehicles | |
50 grep -A 5 "L337" mystery/vehicles | |
51 grep -A 5 "Delta" mystery/vehicles | |
52 grep -A 5 "Sky" mystery/vehicles | |
53 grep ./mystery/interviews/* New Ze | |
54 grep -A 5 "New Ze" ./mystery/interviews/* | |
55 grep -A 15 "New Ze" ./mystery/interviews/* | |
56 head -n 173 streets/Mattapan_Street | tail -n 1 | |
57 cd mystery/ | |
58 head -n 173 streets/Mattapan_Street | tail -n 1 | |
59 cat ../hint* | |
60 cat interviews/interview-9437737 | |
61 grep Annabel ./people | |
62 cat streets/Mattapan_Street | |
63 grep Annabel ./people | |
64 head -n 173 streets/Mattapan_Street | tail -n 1 | |
65 head -n 40 streets/Hart_Place | tail -n 1 | |
66 cat interviews/interview-47246024 | |
67 head -n 179 streets/Buckingham_Place | tail -n 1 | |
68 cat interviews/interview-699607 | |
69 cat ../hint | |
70 cat ../hint* | |
71 grep -A L337 vehicles | |
72 grep -A 5 L337 vehicles | |
73 cat interviews/interview-699607 | |
74 grep -A 5 L337 vehicles | |
75 cat interviews/interview-699607 | |
76 grep -A 5 L337 vehicles > grep -A blue | |
77* grep -A 5 "blue" vehicles | |
78 cat ../hint* | |
79 cat vehicles | |
80 ls | |
81 cat grep | |
82 rm grep | |
83 cat grep | |
84 cat vehicles | grep 'honda' | |
85 cat vehicles | grep 'Honda' | |
86 cat vehicles | grep -A 5 'Honda' | |
87 cat ../hint* | |
88 cat vehicles | grep -A 5 'Honda' | wc - | |
89 cat vehicles | grep -A 5 'Honda' | wc -l | |
90 wc | |
91 wc -l | |
92 cat vehicles | grep -A 5 'Honda' | grep -A 5 'blue' | |
93 cat vehicles | grep -A 5 'Honda' | |
94 cat vehicles | grep -A 5 'Honda' | grep 'Red' | |
95 cat vehicles | grep -A 5 'Honda' | grep -A 'Red' | |
96 cat vehicles | grep -A 5 'Honda' | grep -A 5 'Red' | |
97 cat vehicles | grep 'Honda' | grep -A 5 'Red' | |
98 cat vehicles | grep -A 10 'Honda' | grep -A 5 'Red' | |
99 cat vehicles | grep -A 10 'Honda' | grep -A 5 'Height: 6' | |
100 cat vehicles | grep -A 10 'Honda' | |
101 cat vehicles | grep -A 10 -e 'Honda' -e 'Blue' -e 'Height: 6' | |
102 cat vehicles | grep -A 5 -e 'Honda' -e 'Blue' -e 'Height: 6' | |
103 cat vehicles | grep -A 5 -E 'Honda|Blue' -e 'Blue' -e 'Height: 6' | |
104 cat vehicles | grep -A 5 -E 'Honda|Blue' | |
105 cat vehicles | grep -E 'Honda|Blue' | |
106 cat vehicles | grep -B -E 'Honda|Blue' | |
107 cat vehicles | grep -B 5 -E 'Honda|Blue' | |
108 cat vehicles | grep -A 5 -E 'Honda|Blue' | |
109 cat vehicles | grep -A 5 -E 'Make: Honda\nColor: Blue' | |
110 cat vehicles | grep -A 5 'Make: Honda\nColor: Blue' | |
111 cat vehicles | grep -A 5 'Color: Blue' | |
112 cat vehicles | grep -A 5 'Make: Honda' | |
113 cat vehicles | grep -A 5 'Make: Honda | |
Color: Blue' | |
114 cat vehicles | grep -A 5 'Make: Honda | |
Color: Blue' | |
115 cat vehicles | grep -A 5 "Make: Honda | |
Color: Blue | |
Height: 6" | |
116 cat vehicles | grep -A 5 Honda > Hondas | |
117 cat Hondas | grep 'Blue' | |
118 cat Hondas | |
119 cat Hondas | grep -A 5 'Blue' | |
120 cat Hondas | grep -A 6 'Blue' | |
121 cat Hondas | grep -A 7 'Blue' | |
122 cat Hondas | |
123 cat Hondas | grep Blue | |
124 cat Hondas | grep -B 5 Blue | |
125 cat Hondas | grep -B 7 Blue | |
126 cat Hondas | grep -A 7 Blue | |
127 cat Hondas | grep -A 6 Blue | |
128 cat Hondas | grep -A 6 Height: 6 | |
129 cat Hondas | grep -A 6 "Height: 6" | |
130 cat Hondas | grep -A 1 "Height: 6" | |
131 cat Hondas | grep -B 1 "Height: 6" | |
132 cat Hondas | grep -C 1 "Height: 6" | |
133 cat Hondas | grep -C 3 "Height: 6" | |
134 cat Hondas | |
135 cat Hondas | grep -C 3 "Height: 6" | |
136 cat Hondas | grep -C 3 "Height: 6" > HondasHeights | |
137 cat Hondas | grep -A 1 -B 4 "Height: 6" | |
138 cat Hondas | grep -A 1 -B 3 "Height: 6" | |
139 cat Hondas | grep -A 1 -B 3 "Height: 6" > HeightsHondas | |
140 ls | |
141* rm HondasHeights 1 | |
142 cat HeightsHondas | |
143 cat HeightsHondas | grep -A 3 -B 1 "Blue" | |
144 cat HeightsHondas | grep -A 3 -B 1 "Blue" > ColorHeightHondas | |
145 cat ColorHeightHondas | |
146 cat vehicles | |
147 ls | |
148 history | |
149 cat interviews/interview-699607 | |
150 cat vehicles | |
151 cat vehicles | grep -A 5 'L337' | |
152 cat vehicles | grep -A 5 'L337' | grep Blue | |
153 cat vehicles | grep -A 5 'L337' | grep -n Blue | |
154 cat vehicles | grep -A 5 'L337' | grep -A 4 -B 1 'Honda' | grep -A 3 -B 2 'Blue' | grep -A 1 -B 4 'Height: 6' | |
155 cat vehicles | grep -A 5 'L337' | grep -A 4 -B 1 'Honda' | grep -A 3 -B 2 'Blue' | grep -A 1 -B 4 'Height: 6' > witnessss | |
156 cat witnessss | |
157 grep 'Owens' people | |
158 grep -E 'Erika Owens|Joe Germuska|Jeremy Bowers|Jacqui Maher' people | |
159 grep -E 'Erika Owens|Joe Germuska|Jeremy Bowers|Jacqui Maher' people > witnessssAdressss | |
160 nano witnessssAdressss | |
161 cat witnessssAdressss | |
162 cat ../hint* | |
163 cat witnessssAdressss | |
164 head -n 275 streets/Plainfield_Street | tail -n 1 | |
165 cat interviews/interview-29741223 | |
166 head -n 284 streets/Dunstable_Road | tail -n 1 | |
167 cat interviews/interview-9620713 | |
168 ls | |
169 ls memberships/ | |
170 cat witnessssAdressss | |
171 grep 'Bowers' ./memberships/Delta_SkyMiles | |
172 grep -A 5 -B 5 'Bowers' ./memberships/Delta_SkyMiles | |
173 ls | |
174 cat crimescene | grep CLUE | |
175 grep CLUE crimescene | |
176 grep Bowers ./memberships/AAA | |
177 grep Bowers ./memberships/* | |
178 echo Jeremy Bowers | |
179 history > mysteryHistory.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment