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
67
Automatiza, motherfucker
ferblape
2
210
A brief introduction to testing and TDD
ferblape
3
470
Event oriented APIs
ferblape
1
150
Lessons learned using Redis
ferblape
5
450
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Faster Mobile Websites
deanohume
307
31k
Designing for humans not robots
tammielis
253
25k
Six Lessons from altMBA
skipperchong
28
3.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Become a Pro
speakerdeck
PRO
28
5.4k
Done Done
chrislema
184
16k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
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