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
Fireside Chat
paigeccino
34
3k
Teambox: Starting and Learning
jrom
133
8.8k
Statistics for Hackers
jakevdp
796
220k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
The World Runs on Bad Software
bkeepers
PRO
65
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Automating Front-end Workflow
addyosmani
1366
200k
Building an army of robots
kneath
302
43k
Site-Speed That Sticks
csswizardry
0
28
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
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