Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Terminal is your friend
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Victor Castell
August 24, 2011
Programming
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Terminal is your friend
Victor Castell
August 24, 2011
More Decks by Victor Castell
See All by Victor Castell
Why Go
victorcoder
2
370
Other Decks in Programming
See All in Programming
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
contenteditable と日本語入力に向き合う
colorful12
0
200
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
930
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
440
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Domain-Driven Transformation
hschwentner
2
2.3k
AmebaブログはKMPから卒業します
kmars0605
0
190
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Code Reviewing Like a Champion
maltzj
529
40k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Crafting Experiences
bethany
1
380
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Designing Experiences People Love
moore
143
24k
Everyday Curiosity
cassininazir
0
350
Code Review Best Practice
trishagee
74
20k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
Transcript
Hola!
Sobre mi
Victor Castell
@victorcoder http://github.com/victorcoder
CTO y socio en: +
Terminal, ¿Que es? Interprete de ordenes de Unix/GNU Linux y
derivados bash - Bourne Again Shell Evolución de sh - Bourne Shell
No es complicado
¿Porque lo usamos en UNIX? En UNIX es un entorno
de programación En Windows da mal jare
¿Opciones? MacOS: Terminal.app / iTerm.app Linux: gnome-terminal, Konsole, xterm, etc...
Windows: nah!
¿Como aprender? Practica Trucos de memória
Navegación e interacción con ficheros
$ cd <opciones> <ruta> (change directory) $ ls <opciones> <ficheros>
(list) $ mkdir <opciones> <nombre del directorio> (make directory) $ rmdir <opciones> <nombre del directorio> (remove directory) $ cp <opciones> <archivo> <ruta> (copy) $ mv <opciones> <archivo> <ruta> (move) $ rm <opciones> <archivo> (remove)
Ejemplos $ ls Gemfile Gemfile.lock showoff.json slides $ ls -l
total 24 -rw-r--r-- 1 victorcoder staff 44 22 ago 18:07 Gemfile -rw-r--r-- 1 victorcoder staff 362 22 ago 18:07 Gemfile.lock -rw-r--r-- 1 victorcoder staff 89 22 ago 18:07 showoff.json drwxr-xr-x 3 victorcoder staff 102 22 ago 18:07 slides $ cd slides $ ls -l total 8 -rw-r--r--@ 1 victorcoder staff 580 23 ago 11:32 tiyf.md $ cd .. $ pwd /Users/victorcoder/Documents/code/terminal-is-your-friend $ open .
Movimiento Autocompletar (TAB) CTRL+a Inicio de linea CTRL+e Fin de
linea flecha arriba | Navegar por la historia CTRL+r | reverse search history | ver la historia
ESC+f forward 1 word ESC+b backward 1 word ESC+t transpose
CRTL+u delete line CTRL+l clear screen
Extras $ cat $ find <ruta(s)> <condición(es) de búsqueda> <acciones>
$ chmod $ open <ruta> $ alias $ ll $ la Ejecutar último comando: flecha arriba o !! Encadenar comandos: && Pipes: |
Helpers
bash + bash_it https://github.com/revans/bash-it $ |ruby-1.9.2-p290| victorimac in ~/Documents/code/pdf_reader \
± |master ✓| →
zsh + oh-my-zsh https://github.com/robbyrussell/oh-my-zsh $ [ 4:49PM ] [ victorcoder@victorimac:~(ruby-1.9.2-p180)
] $ chmod (tab) a -- all g -- group o -- others u -- user + - \=
bash está en todas partes
bash mola mash!
Referencias http://maymay.net/blog/2007/07/18/list-of- default-mac-os-x-command-line-editing-bash- keyboard-shortcuts/ http://www.guia-ubuntu.org/index.php? title=Terminal https://github.com/victorcoder/dotfiles
¡Gracias!