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
Why Our Code Smells
bkeepers
PRO
336
57k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Raft: Consensus for Rubyists
vanstee
137
6.8k
RailsConf 2023
tenderlove
29
1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Optimizing for Happiness
mojombo
376
70k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
550
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