Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Field Notes of Command Line Ninja by Rustam Meh...
Search
Riga Dev Day
March 13, 2016
0
84
Field Notes of Command Line Ninja by Rustam Mehmandarov
Riga Dev Day
March 13, 2016
Tweet
Share
More Decks by Riga Dev Day
See All by Riga Dev Day
Faster Java by Adding Structs (Sort Of)
rigadevday
0
150
Prepare for JDK 9! by Dalibor Topic
rigadevday
0
110
Little Important Things in Distributed Architectures by Andres Jaan Tack
rigadevday
0
100
Oracle 12c for Developers by Alex Nuijten
rigadevday
1
110
The Language of Regular Expressions. So You Think You Can Speak It? by Rustam Mehmandarov
rigadevday
0
60
Modern Java Component Design with Spring 4.3 by Juergen Hoeller
rigadevday
0
220
Open Source and OpenJDK: Do They Deliver? by Simon Ritter
rigadevday
0
49
Google Apps Integration in Oracle Apex by Richard Martens
rigadevday
0
250
Integration Testing from the Trenches by Nicolas Fränkel
rigadevday
0
210
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
91
5.8k
Why Our Code Smells
bkeepers
PRO
336
57k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Docker and Python
trallard
44
3.3k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
4 Signs Your Business is Dying
shpigford
182
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Navigating Team Friction
lara
183
15k
Unsuck your backbone
ammeep
669
57k
Transcript
Field Notes of a Command Line Ninja Rustam Mehmandarov Riga
Dev Day
Agenda Intorduction History Expansions/Shorthand Useful cmd Example IRL
History http://xkcd.com/149/
History sudo !! http://xkcd.com/149/
Expansion, Alias …
Useful commands
Examples IRL
Summon power of the gods? ls –o –t –r –h
or ls –thor
Top 10 commands used history | awk 'BEGIN {FS="[ \t]+|\\|"}
{print $3}' | sort | uniq -c | sort - nr | head
Magic 1. svn log -r <revFra>:<revTil> > svn_log.txt 2. cat
svn_log.txt | grep Jira# | sed -r s/Jira#:[[:space:]]// | sort | uniq > jira_saker.txt
More magic! 1. cd takeoff/rotate/up/stop/land 2. echo $_ | awk
'BEGIN {FS="/"}{print $1"();", $2"();", $3"();", $4"();", $5"();"}' >> fun.js && node fun.js
None
None
None
Thank you! rmehmandarov
[email protected]
None