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
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Scaling GitHub
holman
459
140k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
How STYLIGHT went responsive
nonsquared
96
5.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Typedesign – Prime Four
hannesfritz
40
2.5k
RailsConf 2023
tenderlove
29
960
Making the Leap to Tech Lead
cromwellryan
133
9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
The Cult of Friendly URLs
andyhume
78
6.1k
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