Skip to content

Instantly share code, notes, and snippets.

@AurelieBayre
Created February 26, 2018 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AurelieBayre/598356fb9719425ab1d9c1de8057b891 to your computer and use it in GitHub Desktop.
Save AurelieBayre/598356fb9719425ab1d9c1de8057b891 to your computer and use it in GitHub Desktop.
1 webdev
2 ls
3 cd WCS exercises
4 cd WCS_exercises
5 ls
6 cd unix
7 ls
8 cd clmystery-master
9 ls
10 cat instructions
11 ls
12 cd mystery
13 ls
14 cat crimescene
15 grep "CLUE" mystery
16 cat crimescene
17 grep "CLUE"
18 cat crimescene | grep "CLUE"
19 ls
20 cat people
21 cat people | grep "Annabel"
22 ls
23 cat crimescene
24 cat crimescene | grep "CLUE"
25 ls
26 cd interviews
27 ls
28 grep "Annabel Sun" . -R
29 grep -rHino "Annabel Sun"
30 grep -rHino "Annabel"
31 grep -lr "Annabel" *
32 grep -lr "Annabel"
33 find . -name '*.*' -type f -exec grep -q 'Annabel' {} \; -print
34 cd interview-999372
35 cat interview-999372
36 cat interview-7541406
37 cd..
38 ls
39 cd..
40 cd ..
41 ls
42 cd memberships
43 ls
44 cat AAA
45 ls
46 cat Museum_of_Bash_History
47 cd
48 cd webdev
49 webdev
50 cd WCS_exercises
51 cd unix
52 cf clmystery-master
53 cd clmystery-master
54 ls
55 cat hint2
56 cat hint3
57 cd mystery
58 ls
59 cd ..
60 ls
61 cat hint4
62 cat hint5
63 cd streets
64 cd mystery
65 cd streets
66 ls
67 head -n 40 streets/Hart_Place|tail -n 1
68 cd ..
69 head -n 40 streets/Hart_Place|tail -n 1
70 head -n 179 streets/Buckingham_Place|tail -n 1
71 ls
72 cd interviews
73 ls
74 cat interview-47246024
75 cat interview-699607
76 ls
77 cd ..
78 ls
79 cat vehicles
80 cat vehicles | grep "L337"
81 cat vehicles | grep "L337"\"Blue"\"Honda"
82 cat vehicles | grep "L337"\|"Blue"\|"Honda"
83 cat vehicles | grep "L337|Blue|Honda"
84 cat vehicles | grep -l Blue * | xargs grep -l Honda | sargs grep -l L337
85 cat vehicles | grep -l Blue * | xargs grep -l Honda | xargs grep -l L337
86 cat vehicles | grep "Honda"
87 file vehicles
88 nano vehicles.txt
89 nano vehicles
90 cd ..
91 ls
92 cat hint6
93 cat hint7
94 cat vehicles
95 cd mystery
96 cat vehicles
97 grep -A"L337" mystery/vehicles
98 grep -A 5 "L337" mystery/vehicles
99 grep -A 5 "L337" /vehicles
100 grep -A 5 "L337" vehicles
101 cat people | grep "Jacqui Maher"
102 cat people | grep "Jeremy Bowers"
103 cat people | grep "Joe Germuska"
104 cd memberships
105 ls
106 cat Delta_SkyMiles | "Jeremy Bowers"
107 cat Delta_SkyMiles | grep "Jeremy Bowers"
108 cat Delta_SkyMiles | grep "Joe Germuska"
109 cat Museum_of_Bash_History" | grep "Joe Germuska"
cat Museum_of_Bash_History" | grep "Jeremy Bowers"
110 cat Museum_of_Bash_History" | grep "Jeremy Bowers"
111 cat Museum_of_Bash_History | grep "Jeremy Bowers"
112 echo Jeremy Bowers
113 history > mon_historique.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment