Skip to content

Instantly share code, notes, and snippets.

@PradalCyril
Last active October 8, 2018 14:19
Show Gist options
  • Save PradalCyril/173eeb5ab659285b22a47e96083908ac to your computer and use it in GitHub Desktop.
Save PradalCyril/173eeb5ab659285b22a47e96083908ac to your computer and use it in GitHub Desktop.
89 touch newfile.txt
90 clear
91 cd Desktop
92 cd LOL
93 cd mystery
94 cd streets
95 cat "Annabel" Buckingham_Place > RueAnnabel.txt
96 cat "Annabel" Buckingham_Place > RueAnnabel.txt
97 grep "Annabel" Buckingham_Place > RueAnnabel.txt
98 cat Buckingham_Place
99 grep "INTERVIEW" Buckingham_Place > RueAnnabel.txt
100 cd ..
101 cd interviews
102 cat INTERVIEW #699607
103 cat ls 699607
104 cat ls *699607
105 ls *699607
106 cat interview-699607
107 Interviewed Ms. Church at 2:04 pm. Witness stated that she did not see anyone she could identify as the shooter, that she ran away as soon as the shots were fired.
108 cd ..
109 cd vehicle
110 cd vehicles
111 grep "L337" vehicles > Honda.txt
112 grep "Honda" "L337" vehicles > Honda.txt
113 grep "Honda" | grep "L337" vehicles > Honda.txt
114* grep "Honda" vehicles | grep "L337" | head
115 grep "Honda L337" vehicles > Honda.txt
116 grep "L337" vehicles > Honda.txt
117 cat vehicles
118 grep "Honda" | grep "L337" > Honda.txt
119 grep "Honda" vehicles | grep "L337" > Honda.txt
120 grep "Honda" vehicles | grep "L337" | head
121 grep "Honda" vehicles | grep "L337" | head
122 cat vehicles > Honda.txt
123 grep "Honda" Honda.txt | grep "L337" | head
124 head"Honda" Honda.txt
125 head "Honda" Honda.txt
126 head Honda.txt | grep "Honda"
127 head Honda.txt | grep "Blue"
128 head Honda.txt | grep "L337"
129 head Honda.txt | grep "L337" > coucou.txt
130 cat Honda.txt | grep "L337" > coucou.txt
131 cat Honda.txt | grep "Honda" > coucou.txt
132 cat Honda.txt | grep "Honda" && grep "L337" > coucou.txt
133 cat Honda.txt | grep "Honda" > coucou.txt | grep "L337" >> coucou.txt
134 cat Honda.txt | grep "Honda || L337 || 9 " > coucou.txt
135 cat Honda.txt | grep "Honda || L337" > coucou.txt
136 grep "Honda || L337" > coucou.txt
137 grep "Honda || L337" Honda.txt > coucou.txt
138 grep "Honda \| L337" Honda.txt > coucou.txt
139 grep "Honda.*L337" Honda.txt > coucou.txt
140 grep "Honda .* L337" Honda.txt > coucou.txt
141 grep -E "Honda .* L337" Honda.txt > coucou.txt
142 grep -E 'Honda .* L337' Honda.txt > coucou.txt
143 grep -F "Honda .* L337" Honda.txt > coucou.txt
144 grep -B -mb7 "L337" Honda.txt > coucou.txt
145* grep "L337" Honda.txt > coucou.txt
146 grep "L337.*9" -C nb7 vehicles
147 grep -C nb7 "L337.*9" vehicles
148 grep -i-A5 "L337.*9" vehicles
149 grep -i --A5 "L337.*9" vehicles
150 grep -i -A5 "L337.*9" vehicles
151 grep -i -A5 "L337.*9.*Blue" vehicles
152 grep -i -A1 "L337.*9.*Blue" vehicles
153 grep -i -A1 "L337.*Blue" vehicles
154 grep -i -A1 "L337.*9,Blue" vehicles
155 grep -i -A5 "L337.*9" vehicles
156 grep -i -A5 "L337.*Honda" vehicles
157 grep -E 'L337.*Honda' vehicles
158 grep -i -A5 "L337.*9" vehicles > Honda.txt
159 grep -i -A5 "L337.*9" vehicles > coucou.txt
160 grep -i -A5 "Blue" vehicles > coucou.txt
161 grep -i -A5 "Blue" vehicles > coucou.txt
162 grep -i -A5 "Color : Blue" vehicles > coucou.txt
163 grep -i -A5 "Color: Blue" vehicles > coucou.txt
164 grep -i -A1 "Color: Blue" vehicles > coucou.txt
165 grep -i -A1 "L337.*9|Color: Blue" vehicles > coucou.txt
166 grep -i -A1 "L337.*9/Color: Blue" vehicles > coucou.txt
167 grep -i -A1 "L337.*9\Color: Blue" vehicles > coucou.txt
168 grep -i -A5 "L337.*9" vehicles > coucou.txt
169 cd memberships
170 cd ..
171 grep "Joe Germuska" people
172 grep "Jeremy Bowers" people
173 grep "Jacqui Maher" people
174 cd memberships
175 grep "Joe Germuska" AAA
176 grep "Joe Germuska" Delta_SkyMiles
177 grep "Jeremy Bowers" AAA
178 grep "Jeremy Bowers" Delta_SkyMiles
179 grep "Jeremy Bowers" Museum_of_Bash_History
180 echo Jeremy Bowers
181 cd ..
182 cd ..
183 history > mon_historique.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment