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
Introducción a la línea de comandos
Search
Fernando Blat
September 15, 2012
0
310
Introducción a la línea de comandos
Fernando Blat
September 15, 2012
Tweet
Share
More Decks by Fernando Blat
See All by Fernando Blat
Trabajando de forma eficaz con datos públicos
ferblape
0
60
Automatiza, motherfucker
ferblape
2
210
A brief introduction to testing and TDD
ferblape
3
470
Event oriented APIs
ferblape
1
140
Lessons learned using Redis
ferblape
5
440
Featured
See All Featured
Navigating Team Friction
lara
183
15k
Scaling GitHub
holman
458
140k
Site-Speed That Sticks
csswizardry
2
190
Code Review Best Practice
trishagee
65
17k
How to Ace a Technical Interview
jacobian
276
23k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
We Have a Design System, Now What?
morganepeng
51
7.3k
Building an army of robots
kneath
302
44k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Building Applications with DynamoDB
mza
91
6.1k
Become a Pro
speakerdeck
PRO
26
5k
Statistics for Hackers
jakevdp
796
220k
Transcript
La línea de comandos Fernando Blat @ferblape Saturday, September
15, 12
Saturday, September 15, 12
Saturday, September 15, 12
Saturday, September 15, 12
http://cygwin.com/install.html En Windows Tenéis que instalar este programa para
poder ejecutar los comandos que veremos a Saturday, September 15, 12
http://es.wikipedia.org/wiki/ Emulador_de_terminal Saturday, September 15, 12
Una interfaz entre el usuario y el
ordenador Saturday, September 15, 12
Navegar entre directorios Saturday, September 15, 12
¿Dónde estoy? $ pwd Saturday, September 15, 12
¿Qué directorios hay? $ ls Saturday, September 15, 12
Quiero ir a proyectos/railsgirls $ cd proyectos/railsgirls Saturday, September
15, 12
¿Qué ficheros hay? $ ls -l Saturday, September 15, 12
Manipular ficheros Saturday, September 15, 12
Eliminar un fichero $ rm fichero Saturday, September 15, 12
Subir un directorio $ cd .. Saturday, September 15, 12
Mostrar un fichero $ cat fichero Saturday, September 15, 12
Ejecutar comandos Saturday, September 15, 12
Ejecutar un comando $ rails s Saturday, September 15, 12
Ejecutar un comando es como hacer doble
click en una aplicación Saturday, September 15, 12
Muchas herramientas funcionan por línea de comandos
Saturday, September 15, 12
Saturday, September 15, 12
$ gem install rails Saturday, September 15, 12
$ gem install rails $ bundle install Saturday, September 15,
12
$ gem install rails $ bundle install $ git commit
-m “Feature molona” Saturday, September 15, 12
$ gem install rails $ bundle install $ git commit
-m “Feature molona” $ ssh
[email protected]
Saturday, September 15, 12
$ gem install rails $ bundle install $ git commit
-m “Feature molona” $ ssh
[email protected]
$ date Saturday, September 15, 12
$ gem install rails $ bundle install $ git commit
-m “Feature molona” $ ssh
[email protected]
$ date $ cowsay “hello railsgirls” Saturday, September 15, 12
$ gem install rails $ bundle install $ git commit
-m “Feature molona” $ ssh
[email protected]
$ date $ cowsay “hello railsgirls” __________________ < hello railsgirls > ------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || Saturday, September 15, 12
Saturday, September 15, 12
$ cowsay -h Saturday, September 15, 12
$ cowsay -h cow{say,think} version 3.03, (c) 1999 Tony Monroe
Saturday, September 15, 12
$ cowsay -h cow{say,think} version 3.03, (c) 1999 Tony Monroe
Usage: cowsay [-bdgpstwy] [-h] [-e eyes] [-f cowfile] [-l] [-n] [-T tongue] [-W wrapcolumn] [message] Saturday, September 15, 12
$ cowsay -h cow{say,think} version 3.03, (c) 1999 Tony Monroe
Usage: cowsay [-bdgpstwy] [-h] [-e eyes] [-f cowfile] [-l] [-n] [-T tongue] [-W wrapcolumn] [message] Saturday, September 15, 12
$ cowsay -s "esto es muy friki" ___________________ < esto
es muy friki > ------------------- \ ^__^ \ (**)\_______ (__)\ )\/\ U ||----w | || || Saturday, September 15, 12
¡Gracias! Saturday, September 15, 12