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
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
More Decks by Victor Castell
See All by Victor Castell
Why Go
victorcoder
2
370
Other Decks in Programming
See All in Programming
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
120
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.8k
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
280
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.2k
不幸な GC
chencmd
0
810
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
4
1.1k
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
200
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
400
My Marp Sample
sinoue0108
0
120
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
730
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
170
引き算の組織 ― アウトカムとAIに全振りするために辞めたこと ― / Organization by Subtraction
hirokiyamamoto14
PRO
0
310
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
260
GitHub's CSS Performance
jonrohan
1033
470k
Between Models and Reality
mayunak
4
410
Exploring anti-patterns in Rails
aemeredith
3
480
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
360
It's Worth the Effort
3n
188
29k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
390
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
480
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Optimizing for Happiness
mojombo
378
71k
We Are The Robots
honzajavorek
0
310
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!