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
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
Transcript
23 slides
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!
More Decks by Victor Castell
See All by Victor Castell
Why Go
victorcoder
2
370
Other Decks in Programming
See All in Programming
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
2
160
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
9.2k
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
380
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
190
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
250
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
Distance field of Julia set
kinakomoti321
0
330
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
100
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
140
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
250
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
180
Featured
See All Featured
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
The Cult of Friendly URLs
andyhume
79
7.1k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.7k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
60k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Typedesign – Prime Four
hannesfritz
42
3.2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
570
Discover your Explorer Soul
emna__ayadi
2
1.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
460